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

Trim space from webhook url_file content #3363

Merged
merged 1 commit into from
May 16, 2023

Conversation

b1zzu
Copy link
Contributor

@b1zzu b1zzu commented May 16, 2023

It's common to have empty lines at the end of a file therefore it would be good if the code handles it correctly, also it will align the webhook url_file behaviour with the slack api_url_file.

@b1zzu b1zzu force-pushed the webhook-url-file-trim-space branch from c3e4838 to 140c3d6 Compare May 16, 2023 11:30
Copy link
Member

@simonpasquier simonpasquier left a comment

Choose a reason for hiding this comment

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

thanks!

@simonpasquier simonpasquier merged commit 5adc736 into prometheus:main May 16, 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.

2 participants