Skip to content
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

Add X-Grafana-Id header as const #1045

Merged
merged 2 commits into from
Aug 13, 2024
Merged

Add X-Grafana-Id header as const #1045

merged 2 commits into from
Aug 13, 2024

Conversation

jkroepke
Copy link
Contributor

@jkroepke jkroepke commented Aug 9, 2024

What this PR does / why we need it: Define the HTTP header used by the idForwarded feature toggle as constant

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

@jkroepke jkroepke requested a review from a team as a code owner August 9, 2024 20:31
@jkroepke jkroepke requested review from wbrowne, andresmgot and xnyo and removed request for a team August 9, 2024 20:31
@CLAassistant
Copy link

CLAassistant commented Aug 9, 2024

CLA assistant check
All committers have signed the CLA.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Contributor

@andresmgot andresmgot left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @jkroepke! It should be fine to add this but it seems that the linter does not agree: https://drone.grafana.net/grafana/grafana-plugin-sdk-go/2404/1/3 Can you disable it for the new line?

backend/http_headers.go Outdated Show resolved Hide resolved
Copy link
Contributor

@andresmgot andresmgot left a comment

Choose a reason for hiding this comment

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

LGTM

@andresmgot andresmgot merged commit fbe8fc3 into grafana:main Aug 13, 2024
3 checks passed
@jkroepke jkroepke deleted the patch-1 branch August 13, 2024 08:02
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.

4 participants