diff --git a/go.mod b/go.mod index 7255d19def..a87a799588 100644 --- a/go.mod +++ b/go.mod @@ -37,7 +37,7 @@ require ( gopkg.in/yaml.v2 v2.4.0 k8s.io/api v0.23.3 k8s.io/apiextensions-apiserver v0.23.1 - k8s.io/apimachinery v0.23.3 + k8s.io/apimachinery v0.23.4 k8s.io/apiserver v0.23.1 k8s.io/cli-runtime v0.23.1 k8s.io/client-go v0.23.3 diff --git a/rollout/trafficrouting/traefik/traefik.go b/rollout/trafficrouting/traefik/traefik.go index 6488af84ff..342667f058 100644 --- a/rollout/trafficrouting/traefik/traefik.go +++ b/rollout/trafficrouting/traefik/traefik.go @@ -41,11 +41,11 @@ type ClientInterface interface { } func NewReconciler(cfg ReconcilerConfig) *Reconciler { - reconciler := Reconciler{ + reconciler := &Reconciler{ Rollout: cfg.Rollout, Client: cfg.Client, } - return &reconciler + return reconciler } func NewDynamicClient(di dynamic.Interface, namespace string) dynamic.ResourceInterface {