v1.16.9
v1.16.9
This commit is contained in:
@@ -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