Skip to content

Conversation

wxing1292
Copy link
Contributor

What was changed

Why?

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

@wxing1292 wxing1292 requested a review from a team as a code owner September 26, 2023 23:39
if !ok {
ctx = metadata.NewOutgoingContext(ctx, cb.Headers)
} else {
ctx = metadata.NewOutgoingContext(ctx, metadata.Join(md, cb.Headers))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we join in reverse order and allow context metadata to overwrite cb.Headers?

@bergundy
Copy link
Member

Thanks!

Can you provide a test that accompanies this change and a bit more details as to what this PR exactly does and why?

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.

2 participants