Skip to content

fix(policy-test): correct panic message typos in http{1,2}_routes#15316

Open
unleashed wants to merge 1 commit into
mainfrom
amr/fix-panic-messages-policy-test-outbound-api
Open

fix(policy-test): correct panic message typos in http{1,2}_routes#15316
unleashed wants to merge 1 commit into
mainfrom
amr/fix-panic-messages-policy-test-outbound-api

Conversation

@unleashed
Copy link
Copy Markdown
Member

Fix copy-paste typos in the http1_routes and http2_routes test helpers
in policy-test/src/outbound_api.rs. Both panic messages incorrectly read
"proxy protocol must be Grpc" instead of "Http1" and "Http2".

Since these functions use #[track_caller], the panic message distinguishes
which protocol assertion failed, and the incorrect text could mislead
debugging.

Both helpers incorrectly read "proxy protocol must be Grpc" when
they actually expect Http1 and Http2.

Signed-off-by: Alejandro Martinez Ruiz <amr@buoyant.io>
@unleashed unleashed requested a review from a team as a code owner May 26, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants