mirror of https://github.com/databricks/cli.git
loop over keys
This commit is contained in:
parent
8cd26318e8
commit
c69e6d97df
|
@ -101,8 +101,8 @@ func FromType(typ reflect.Type, fns []func(typ reflect.Type, s Schema) Schema) (
|
|||
}
|
||||
|
||||
for _, fn := range fns {
|
||||
for k, v := range c.definitions {
|
||||
c.definitions[k] = fn(c.seen[k], v)
|
||||
for k := range c.definitions {
|
||||
c.definitions[k] = fn(c.seen[k], c.definitions[k])
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue