mirror of
https://github.com/rancher/norman.git
synced 2025-08-02 07:59:20 +00:00
Fix embed mapper ignore list not working
This commit is contained in:
parent
0557aa4ff3
commit
d71b4215d0
@ -70,10 +70,11 @@ func (e *Embed) ModifySchema(schema *types.Schema, schemas *types.Schemas) error
|
||||
}
|
||||
|
||||
deleteField := true
|
||||
outer:
|
||||
for name, field := range embeddedSchema.ResourceFields {
|
||||
for _, ignore := range e.Ignore {
|
||||
if ignore == name {
|
||||
continue
|
||||
continue outer
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user