Skip to content

Commit

Permalink
Issue argoproj#170 is not solved when using server, only when using n…
Browse files Browse the repository at this point in the history
…ame for destination
  • Loading branch information
jgwest committed Jul 9, 2021
1 parent 41639ff commit 93208b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controllers/applicationset_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ func (r *ApplicationSetReconciler) removeFinalizerOnInvalidDestination(ctx conte
return nil
}

validDestination := true
var validDestination bool

// Detect if the destination is invalid (name doesn't correspond to a matching cluster)
if err := utils.ValidateDestination(ctx, &app.Spec.Destination, r.KubeClientset, applicationSet.Namespace); err != nil {
Expand Down

0 comments on commit 93208b7

Please sign in to comment.