Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

csmarchbanks
Copy link
Member

A regression was reported for 0.22.x where if there are two spaces after HELP or TEXT we would raise a value error. This was caused by having an extra entry in our array of splits due to how we process the splits.

Fixes #1131

@csmarchbanks csmarchbanks requested a review from ywwg September 11, 2025 19:17
@csmarchbanks csmarchbanks force-pushed the fix-parsing-double-spaces branch from 78b2026 to fcd94d6 Compare September 11, 2025 19:18
A regression was reported for 0.22.x where if there are two spaces after
HELP or TEXT we would raise a value error. This was caused by having an
extra entry in our array of splits due to how we preocess the splits.

Signed-off-by: Chris Marchbanks <[email protected]>
@csmarchbanks csmarchbanks merged commit b3fbbca into master Sep 11, 2025
11 checks passed
@csmarchbanks csmarchbanks deleted the fix-parsing-double-spaces branch September 11, 2025 19:45
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.

Prometheus parser 0.22.0 raises ValueError when parsing HELP, INFO comments with double spaces
2 participants