mirror of
https://github.com/rancher/norman.git
synced 2025-08-17 14:56:42 +00:00
Ignore for nullable enums
This commit is contained in:
parent
41c044bb25
commit
cff992b3b4
@ -162,7 +162,7 @@ func checkFieldCriteria(fieldName string, field types.Field, value interface{})
|
|||||||
value = field.Default
|
value = field.Default
|
||||||
}
|
}
|
||||||
|
|
||||||
if value != nil {
|
if value != nil && value != "" {
|
||||||
hasStrVal = true
|
hasStrVal = true
|
||||||
strVal = fmt.Sprint(value)
|
strVal = fmt.Sprint(value)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user