Skip to content

Commit

Permalink
Merge pull request #193 from nkryuchkov/fix/route-removal
Browse files Browse the repository at this point in the history
Fix route removal bug
  • Loading branch information
jdknives authored Mar 4, 2020
2 parents 6bf1d84 + a6e7905 commit e850915
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 e850915

Please sign in to comment.