mirror of https://github.com/databricks/cli.git
fix: Typo
This commit is contained in:
parent
e5497f75b8
commit
33bd3b81cb
|
@ -20,7 +20,7 @@ func isReferenceType(v *jsonschema.Schema, refs map[string]jsonschema.Schema, cu
|
|||
return true
|
||||
}
|
||||
}
|
||||
props := resolveAdditionaProperties(v)
|
||||
props := resolveAdditionalProperties(v)
|
||||
if !isInOwnFields(props, customFields) {
|
||||
return false
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ func isInOwnFields(node *jsonschema.Schema, customFields map[string]bool) bool {
|
|||
return true
|
||||
}
|
||||
|
||||
func resolveAdditionaProperties(v *jsonschema.Schema) *jsonschema.Schema {
|
||||
func resolveAdditionalProperties(v *jsonschema.Schema) *jsonschema.Schema {
|
||||
if v.AdditionalProperties == nil {
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue