Skip to content

Use Rack::Response#headers in place of header#285

Merged
Sinjo merged 1 commit intoprometheus:mainfrom
duffn:duffn/update-test-headeres
Apr 2, 2023
Merged

Use Rack::Response#headers in place of header#285
Sinjo merged 1 commit intoprometheus:mainfrom
duffn:duffn/update-test-headeres

Conversation

@duffn
Copy link
Copy Markdown
Contributor

@duffn duffn commented Apr 2, 2023

Use headers in place of deprecated header in tests per https://www.rubydoc.info/gems/rack/Rack%2FResponse:header

Closes #278

Signed-off-by: duffn <3457341+duffn@users.noreply.github.com>
Copy link
Copy Markdown
Member

@Sinjo Sinjo left a comment

Choose a reason for hiding this comment

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

Thank you for this!

@Sinjo Sinjo merged commit 907b495 into prometheus:main Apr 2, 2023
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.

Fix Rack deprecation warning

2 participants