v16.1.0
v16.1.0
This commit is contained in:
1 parent
3c5157281e
commit
fe3c7bf63a
142 files changed
+3159
-478
No files matched your search
@@ -492,5 +492,11 @@ func sepDescriptionValidator(fe validator.FieldLevel) bool {
|
||||
func watchdogActionValidator(fe validator.FieldLevel) bool {
|
||||
fieldValue := fe.Field().String()
|
||||
|
||||
return IsInSlice(fieldValue, watchdogActionVaues)
|
||||
return IsInSlice(fieldValue, watchdogActionValues)
|
||||
}
|
||||
|
||||
func memoryBalloonModeValidator(fe validator.FieldLevel) bool {
|
||||
fieldValue := fe.Field().String()
|
||||
|
||||
return IsInSlice(fieldValue, memoryBalloonModeValues)
|
||||
}
|
||||
Reference in new issue
Block a user