mirror of https://github.com/databricks/cli.git
b14920cd12
## Changes Fixed error reporting when included invalid files in include section Case 1. When the file to include is invalid, throw an error Case 2. When the file is loaded but the schema is wrong, indicate which file is failed to load ## Tests With non-existent notexists.yml ``` databricks bundle deploy Error: notexists.yml defined in 'include' section does not match any files ``` With malformed notexists.yml ``` databricks bundle deploy Error: failed to load /Users/andrew.nester/dabs/wheel/notexists.yml: error unmarshaling JSON: json: cannot unmarshal string into Go value of type config.Root ``` |
||
---|---|---|
.. | ||
interpolation | ||
mutator | ||
resources | ||
testdata | ||
variable | ||
artifact.go | ||
bundle.go | ||
environment.go | ||
git.go | ||
lock.go | ||
lock_test.go | ||
resources.go | ||
resources_test.go | ||
root.go | ||
root_test.go | ||
workspace.go |