-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the parsing of threshold name tags containing tokens
@efdknittlfrank pointed out that v0.38.0 presented a bug when thresholds were defined for URL grouping. Indeed, using colons and curly braces inside of a thresholds tags definition would confuse the parser, and lead to an unclear error. This commit ensures that we parse thresholds tags properly: * closing curly brace is now parsed from the right * we ensure the closing curly brace is the last character in the string. * knowing the position of the opening an closing tag definition curly braces, we extract the whole definition's substring based on that.
- Loading branch information
Showing
2 changed files
with
37 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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