mirror of https://github.com/databricks/cli.git
Update libs/flags/json_flag.go
Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
This commit is contained in:
parent
b0aeee5134
commit
dbb3c2b8b5
|
@ -45,7 +45,7 @@ func (j *JsonFlag) Unmarshal(v any) error {
|
||||||
|
|
||||||
// First normalize the input data.
|
// First normalize the input data.
|
||||||
// It will convert all the values to the correct types.
|
// It will convert all the values to the correct types.
|
||||||
// For example string lterals for booleans and integers will be converted to the correct types.
|
// For example string literals for booleans and integers will be converted to the correct types.
|
||||||
nv, diags := convert.Normalize(v, dv)
|
nv, diags := convert.Normalize(v, dv)
|
||||||
if len(diags) > 0 {
|
if len(diags) > 0 {
|
||||||
summary := ""
|
summary := ""
|
||||||
|
|
Loading…
Reference in New Issue