mirror of https://github.com/databricks/cli.git
skip adding patterns for string schemas
This commit is contained in:
parent
acc43092ad
commit
f194a5b86a
|
@ -31,7 +31,7 @@ func addInterpolationPatterns(typ reflect.Type, s jsonschema.Schema) jsonschema.
|
||||||
Pattern: interpolationPattern("var"),
|
Pattern: interpolationPattern("var"),
|
||||||
}},
|
}},
|
||||||
}
|
}
|
||||||
case jsonschema.StringType, jsonschema.IntegerType, jsonschema.NumberType, jsonschema.BooleanType:
|
case jsonschema.IntegerType, jsonschema.NumberType, jsonschema.BooleanType:
|
||||||
// primitives can have variable values, or references like ${bundle.xyz}
|
// primitives can have variable values, or references like ${bundle.xyz}
|
||||||
// or ${workspace.xyz}
|
// or ${workspace.xyz}
|
||||||
// TODO: Followup, do not allow references like ${} in the schema unless
|
// TODO: Followup, do not allow references like ${} in the schema unless
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue