mirror of https://github.com/databricks/cli.git
This commit is contained in:
parent
9cbf284d89
commit
3472d4a972
|
@ -19,7 +19,7 @@ func (w *destroy) Name() string {
|
||||||
func (w *destroy) Apply(ctx context.Context, b *bundle.Bundle) error {
|
func (w *destroy) Apply(ctx context.Context, b *bundle.Bundle) error {
|
||||||
// return early if plan is empty
|
// return early if plan is empty
|
||||||
if b.Plan.IsEmpty {
|
if b.Plan.IsEmpty {
|
||||||
cmdio.LogString(ctx, "No resources to destroy in plan. Skipping destroy!")
|
cmdio.LogString(ctx, "No resources to destroy")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue