v16.9.0
v16.9.0
This commit is contained in:
1 parent
5825bdfa9e
commit
bc8c2b40e9
26 files changed
+358
-79
No files matched your search
@@ -367,6 +367,12 @@ func errorMessage(fe validator.FieldError) string {
|
||||
prefix,
|
||||
fe.Field(),
|
||||
joinValues(sepTechStatusValues))
|
||||
|
||||
case "sepTypes":
|
||||
return fmt.Sprintf("%s %s must be one of the following: %s",
|
||||
prefix,
|
||||
fe.Field(),
|
||||
joinValues(sepTypesValues))
|
||||
}
|
||||
|
||||
return fe.Error()
|
||||
|
||||
Reference in new issue
Block a user