-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change custom headers separator #2509
Conversation
provider/docker/labels.go
Outdated
} | ||
|
||
values := make(map[string]string) | ||
for _, headers := range strings.Split(parts, "🧀") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we are splitting the headers in the label on this emoji, are we going to get users to separate custom headers etc on 🧀 ?
X-Custom-Header:foo🧀X-Other-Header:bar
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a joke! 😂
types/common_label.go
Outdated
LabelFrontendRequestHeader = LabelPrefix + "frontend.headers.customrequestheaders" | ||
LabelFrontendResponseHeader = LabelPrefix + "frontend.headers.customresponseheaders" | ||
LabelFrontendRequestHeader = LabelPrefix + "frontend.headers.customRequestHeaders" | ||
LabelFrontendResponseHeader = LabelPrefix + "frontend.headers.customResponseHeaders" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
are the custom headers supposed to show up in the admin? I'm testing this PR with |
from the api request |
dcb660d
to
57b6c28
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - Nice job @ldez 👏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Real Review:
LGTM!
fb24b8d
to
b4ae7b4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
b4ae7b4
to
ba53189
Compare
What does this PR do?
,
->||
Motivation
Fixes #2508, #2517
More