From a6e79055e1bff4db7c3f8cc4236674373ce5426b Mon Sep 17 00:00:00 2001 From: Nikita Kryuchkov Date: Wed, 4 Mar 2020 16:11:09 +0100 Subject: [PATCH] Fix route removal bug --- pkg/router/router.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkg/router/router.go b/pkg/router/router.go index 6bb705139..5655751ec 100644 --- a/pkg/router/router.go +++ b/pkg/router/router.go @@ -780,7 +780,12 @@ func (r *router) removeRouteGroupOfRule(rule routing.Rule) { // really care about the other ones, other rules removal // doesn't affect our work here if rule.Type() != routing.RuleConsume { - log.Debug("Nothing to be done.") + log. + WithField("func", "removeRouteGroupOfRule"). + WithField("rule", rule.Type().String()). + Debug("Nothing to be done") + + return } rDesc := rule.RouteDescriptor()