From ca07b475230a72e57190065b2c685755478e8afa Mon Sep 17 00:00:00 2001 From: Kevin Dorosh Date: Mon, 14 Dec 2020 18:12:49 -0500 Subject: [PATCH] Fix compile error Signed-off-by: Kevin Dorosh --- pkg/router/gloo.go | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pkg/router/gloo.go b/pkg/router/gloo.go index bd7e94d5..5578d368 100644 --- a/pkg/router/gloo.go +++ b/pkg/router/gloo.go @@ -54,9 +54,7 @@ func (gr *GlooRouter) Reconcile(canary *flaggerv1.Canary) error { // eventually inherit from parent, used for A/B rollouts too? Matchers: []gloov1.Matcher{ { - PathSpecifier: gloov1.Matcher_Prefix{ - Prefix: "/", - }, + Prefix: "/", }, }, Action: gloov1.RouteAction{ @@ -196,9 +194,7 @@ func (gr *GlooRouter) SetRoutes( // eventually inherit from parent, used for A/B rollouts too? Matchers: []gloov1.Matcher{ { - PathSpecifier: gloov1.Matcher_Prefix{ - Prefix: "/", - }, + Prefix: "/", }, }, Action: gloov1.RouteAction{