Skip to content

Commit

Permalink
[collector] bugfix redis collections out of bounds (#942)
Browse files Browse the repository at this point in the history
  • Loading branch information
1797899698 authored May 10, 2023
1 parent 7cd00f4 commit 7383c6d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ private Map<String, String> parseInfo(String info, Metrics metrics) {
.filter(it -> StringUtils.hasText(it) && !it.startsWith(SignConstants.WELL_NO) && it.contains(SignConstants.DOUBLE_MARK))
.map(this::removeCr)
.map(r -> r.split(SignConstants.DOUBLE_MARK))
.filter(t -> t.length > 1)
.forEach(it -> {
result.put(it[0], it[1]);
});
Expand Down

0 comments on commit 7383c6d

Please sign in to comment.