Skip to content

Commit

Permalink
Fix route removal bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nkryuchkov committed Mar 4, 2020
1 parent 6bf1d84 commit a6e7905
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkg/router/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a6e7905

Please sign in to comment.