Skip to content

Commit

Permalink
handle case when plan did not run due to locking gracefully (#1144)
Browse files Browse the repository at this point in the history
  • Loading branch information
motatoes authored Feb 12, 2024
1 parent eb64a2f commit e367388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/pkg/digger/digger.go
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ func run(command string, job orchestrator.Job, policyChecker policy.Checker, org
msg := fmt.Sprintf("Command '%s' is not supported", command)
return nil, msg, fmt.Errorf(msg)
}
return nil, "", nil
return &execution.DiggerExecutorResult{}, "", nil
}

func retrievePlanBeforeApply(planStorage storage.PlanStorage, planPathProvider execution.PlanPathProvider, diggerExecutor execution.LockingExecutorWrapper) (string, error) {
Expand Down

0 comments on commit e367388

Please sign in to comment.