Fix issue parsing double spaces after # HELP/# TYPE by csmarchbanks · Pull Request #1134 · prometheus/client_python
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 <csmarchbanks@gmail.com>
ywwg approved these changes Sep 11, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters