mirror of https://github.com/databricks/cli.git
fix error not being returned
This commit is contained in:
parent
e87edd7435
commit
cd89e5b1ac
|
@ -30,7 +30,7 @@ func logPlan(ctx context.Context, plan *tfjson.Plan) error {
|
|||
case tfActions.Replace():
|
||||
action = "replace"
|
||||
default:
|
||||
fmt.Errorf("unknown terraform actions: %s", tfActions)
|
||||
return fmt.Errorf("unknown terraform actions: %s", tfActions)
|
||||
}
|
||||
|
||||
err := cmdio.RenderWithTemplate(ctx, change, fmt.Sprintf("%s {{.Type}} {{.Name}}\n", action))
|
||||
|
|
Loading…
Reference in New Issue