Skip to content

Commit

Permalink
Make Contour annotation const
Browse files Browse the repository at this point in the history
Co-authored-by: Takeshi Yoneda <[email protected]>
  • Loading branch information
stefanprodan and mathetake authored May 14, 2020
1 parent 68ccbc4 commit 3e19ef0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/router/contour.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type ContourRouter struct {

// Reconcile creates or updates the HTTP proxy
func (cr *ContourRouter) Reconcile(canary *flaggerv1.Canary) error {
annotation := "projectcontour.io/ingress.class"
const annotation = "projectcontour.io/ingress.class"

apexName, primaryName, canaryName := canary.GetServiceNames()

Expand Down

0 comments on commit 3e19ef0

Please sign in to comment.