mirror of
https://github.com/rancher/norman.git
synced 2025-08-02 07:59:20 +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
|
||||
}
|
||||
|
||||
if value != nil {
|
||||
if value != nil && value != "" {
|
||||
hasStrVal = true
|
||||
strVal = fmt.Sprint(value)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user