diff --git a/pkg/controller/deployer_test.go b/pkg/controller/deployer_test.go index eed84118..2f9ea9ea 100644 --- a/pkg/controller/deployer_test.go +++ b/pkg/controller/deployer_test.go @@ -27,7 +27,7 @@ func newTestCanary() *v1alpha3.Canary { APIVersion: "apps/v1", Kind: "Deployment", }, - AutoscalerRef: hpav1.CrossVersionObjectReference{ + AutoscalerRef: &hpav1.CrossVersionObjectReference{ Name: "podinfo", APIVersion: "autoscaling/v2beta1", Kind: "HorizontalPodAutoscaler",