Skip to content

Commit af7932f

Browse files
committed
[connector/routing] Fix configuration error with request context
Remove a residual fallthrough keyword Fixes open-telemetry#37410
1 parent a05740a commit af7932f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ If you are looking for developer-facing changes, check out [CHANGELOG-API.md](./
77

88
<!-- next version -->
99

10+
### 🧰 Bug fixes 🧰
11+
12+
- `routingconnector`: Fix config validation when using request context. (#37410)
13+
1014
## v0.118.0
1115

1216
### 🛑 Breaking changes 🛑

connector/routingconnector/config.go

-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ func (c *Config) Validate() error {
7676
if _, err := parseRequestCondition(item.Condition); err != nil {
7777
return err
7878
}
79-
fallthrough
8079
default:
8180
return errors.New("invalid context: " + item.Context)
8281
}

0 commit comments

Comments
 (0)