Skip to content

Commit

Permalink
Fixed integration test help parsing (#962)
Browse files Browse the repository at this point in the history
Signed-off-by: dhoard <[email protected]>
  • Loading branch information
dhoard authored May 28, 2024
1 parent 6725b2f commit 71e82b8
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,7 @@ private static String readMetricLine(LineReader lineReader) throws IOException {
return line;
}

private static Metric createMetric(String typeLine, String helpLine, String metricLine) {
String help = helpLine.substring("# HELP".length());
private static Metric createMetric(String typeLine, String help, String metricLine) {
String name;
TreeMap<String, String> labels = new TreeMap<>();

Expand Down

0 comments on commit 71e82b8

Please sign in to comment.