mirror of
https://github.com/rancher/norman.git
synced 2025-09-18 08:14:56 +00:00
Allow filtering of dnsLabel fields
This commit is contained in:
@@ -95,6 +95,8 @@ func (s *Schemas) setupFilters(schema *Schema) {
|
||||
switch field.Type {
|
||||
case "enum":
|
||||
mods = []ModifierType{ModifierEQ, ModifierNE, ModifierIn, ModifierNotIn}
|
||||
case "dnsLabel":
|
||||
fallthrough
|
||||
case "string":
|
||||
mods = []ModifierType{ModifierEQ, ModifierNE, ModifierIn, ModifierNotIn}
|
||||
case "int":
|
||||
|
Reference in New Issue
Block a user