From f627404d5a5065a1c7e3cae8b99c775f6aa15f51 Mon Sep 17 00:00:00 2001 From: Darshan Hassan Shashikumar <62122269+darshanhs09@users.noreply.github.com> Date: Thu, 12 Aug 2021 05:02:44 -0700 Subject: [PATCH] feat: Multiple VirtualService objects support for canary strategy of Argo Rollouts. fixing the lint issue. fixes #1100 Signed-off-by: Darshan Hassan Shashikumar <62122269+darshanhs09@users.noreply.github.com> --- rollout/trafficrouting/istio/controller.go | 1 - 1 file changed, 1 deletion(-) diff --git a/rollout/trafficrouting/istio/controller.go b/rollout/trafficrouting/istio/controller.go index d64fca7b70..ce3d79d5c1 100644 --- a/rollout/trafficrouting/istio/controller.go +++ b/rollout/trafficrouting/istio/controller.go @@ -176,7 +176,6 @@ func (c *IstioController) EnqueueRolloutFromIstioVirtualService(vsvc interface{} func (c *IstioController) GetReferencedVirtualServices(ro *v1alpha1.Rollout) (*[]unstructured.Unstructured, error) { var fldPath *field.Path - fldPath = field.NewPath("spec", "strategy", "canary", "trafficRouting", "istio") ctx := context.TODO() virtualServices := []unstructured.Unstructured{} if ro.Spec.Strategy.Canary != nil {