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 open-telemetry#37410
  • Loading branch information
vlaborie committed Jan 24, 2025
1 parent a05740a commit af7932f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ If you are looking for developer-facing changes, check out [CHANGELOG-API.md](./

<!-- next version -->

### 🧰 Bug fixes 🧰

- `routingconnector`: Fix config validation when using request context. (#37410)

## v0.118.0

### 🛑 Breaking changes 🛑
Expand Down
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 af7932f

Please sign in to comment.