mirror of https://github.com/databricks/cli.git
fix: Remove platform specific part from output
This commit is contained in:
parent
19b5018985
commit
44aba7e0e0
|
@ -31,7 +31,7 @@ Exit code: 1
|
||||||
}
|
}
|
||||||
|
|
||||||
>>> errcode $CLI bundle validate -o json --var-file=var_files/not_found.json
|
>>> errcode $CLI bundle validate -o json --var-file=var_files/not_found.json
|
||||||
Error: failed to read variables file: open var_files/not_found.json: no such file or directory
|
Error: failed to read variables file: open var_files/not_found.json:<stripped>
|
||||||
|
|
||||||
|
|
||||||
Exit code: 1
|
Exit code: 1
|
||||||
|
|
|
@ -10,7 +10,7 @@ trace $CLI bundle validate -o json --var="cluster_key=mlops_stacks-cluster" | jq
|
||||||
trace errcode $CLI bundle validate -o json --var-file=var_files/normal.json --var="cluster_key=mlops_stacks-cluster" | jq $cluster_expr
|
trace errcode $CLI bundle validate -o json --var-file=var_files/normal.json --var="cluster_key=mlops_stacks-cluster" | jq $cluster_expr
|
||||||
|
|
||||||
# file not found
|
# file not found
|
||||||
trace errcode $CLI bundle validate -o json --var-file=var_files/not_found.json | jq $cluster_expr
|
trace errcode $CLI bundle validate -o json --var-file=var_files/not_found.json 2> >(sed 's/\(Error: failed to read variables file: open var_files\/not_found.json:\).*/\1<stripped>/' >&2) | jq $cluster_expr
|
||||||
|
|
||||||
# file cannot be parsed
|
# file cannot be parsed
|
||||||
trace errcode $CLI bundle validate -o json --var-file=var_files/invalid_json.json | jq $cluster_expr
|
trace errcode $CLI bundle validate -o json --var-file=var_files/invalid_json.json | jq $cluster_expr
|
||||||
|
|
Loading…
Reference in New Issue