mirror of https://github.com/databricks/cli.git
Add missing conditional
This commit is contained in:
parent
01c381ffde
commit
b92f1e8bd1
|
@ -84,7 +84,9 @@ task or a Python wheel task, the second example applies.
|
||||||
terraform.StatePull(),
|
terraform.StatePull(),
|
||||||
terraform.Load(terraform.ErrorOnEmptyState),
|
terraform.Load(terraform.ErrorOnEmptyState),
|
||||||
))
|
))
|
||||||
return diags.Error()
|
if err := diags.Error(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
runner, err := run.Find(b, args[0])
|
runner, err := run.Find(b, args[0])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue