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

prometheus: Unbreak IPv6 listenAddress #98349

Merged
merged 1 commit into from Sep 21, 2020

Conversation

kirelagin
Copy link
Member

@kirelagin kirelagin commented Sep 20, 2020

Quick fix for the IPv6-related issue reported by @lschuermann in #87700.

The format of the listenAddress option was recently changed to separate
the address and the port parts. There is now a legacy check that
tells users to update to the new format. This legacy check produces
a false positive on IPv6 addresses, since they contain colons.

Fix the regex to make it not match colons within IPv6 addresses.
@bjornfor bjornfor merged commit a4afd52 into NixOS:master Sep 21, 2020
@lschuermann
Copy link
Member

Thanks for the quick fix! I'm glad to see all hope is not lost with IPv6 yet 😅.

@bjornfor
Copy link
Contributor

Backported to release-20.09 as 3f5944e.

@jonringer jonringer added the 8.has: port to stable A PR already has a backport to the stable release. label Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants