Fix autoscalerRef tests

This commit is contained in:
stefanprodan
2019-01-11 13:51:44 +02:00
parent aa2c28c733
commit 83118faeb3
+1 -1
View File
@@ -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",