Skip to content

Commit

Permalink
Adds missing return statement after setting task error
Browse files Browse the repository at this point in the history
  • Loading branch information
wbreza committed Jan 12, 2024
1 parent 191c35e commit c543a56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/azd/pkg/project/service_target_aks.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ func (t *aksTarget) Deploy(
kustomizeDeployed, err := t.deployKustomize(ctx, serviceConfig, task)
if err != nil {
task.SetError(fmt.Errorf("kustomize deployment failed: %w", err))
return
}

deployed = deployed || kustomizeDeployed
Expand Down

0 comments on commit c543a56

Please sign in to comment.