review
This commit is contained in:
parent
7316108d56
commit
9ccad50b05
4 changed files with 7 additions and 0 deletions
|
@ -157,6 +157,7 @@ func IsValidFederatedRepoURLList(urls string) bool {
|
|||
return true
|
||||
}
|
||||
|
||||
// TODO: use validateable/ValidateMaxLen instead !!
|
||||
func IsOfValidLength(str string) bool {
|
||||
return len(str) <= 2048
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue