Skip to content

Commit

Permalink
Web UI: Fix deletion of groups with empty label values
Browse files Browse the repository at this point in the history
If an empty label value ends up in the middle of the URL, it leads to
a double-`/`. The Pushgateway requires a single padding `=` character
to avoid the problem.

With this change, we simply always add the padding `=`. It's optional
and can be used at will even with non-empty label values.

Signed-off-by: beorn7 <[email protected]>
  • Loading branch information
beorn7 committed Dec 16, 2020
1 parent 5c383f8 commit f30b0b3
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 66 deletions.
Loading

0 comments on commit f30b0b3

Please sign in to comment.