Skip to content

Commit

Permalink
[connector/routing] Fix configuration error with request context
Browse files Browse the repository at this point in the history
Remove a residual fallthrough keyword

Fixes #37410
  • Loading branch information
vlaborie committed Jan 22, 2025
1 parent 8034e0d commit 8d98b62
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion connector/routingconnector/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ func (c *Config) Validate() error {
if _, err := parseRequestCondition(item.Condition); err != nil {
return err
}
fallthrough
default:
return errors.New("invalid context: " + item.Context)
}
Expand Down

0 comments on commit 8d98b62

Please sign in to comment.