Skip to content

Commit

Permalink
Merge pull request #1537 from rye-sw/fix-issue-1534
Browse files Browse the repository at this point in the history
set original node selector value when finalizing service
  • Loading branch information
aryan9600 authored Oct 17, 2023
2 parents 55db424 + d796c20 commit d7bf6a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/router/kubernetes_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ func (c *KubernetesDefaultRouter) Finalize(canary *flaggerv1.Canary) error {
return fmt.Errorf("service %s update error: %w", clone.Name, err)
}
} else {
err = c.reconcileService(canary, apexName, canary.Spec.TargetRef.Name, nil)
err = c.reconcileService(canary, apexName, c.labelValue, nil)
if err != nil {
return fmt.Errorf("reconcileService failed: %w", err)
}
Expand Down

0 comments on commit d7bf6a2

Please sign in to comment.