Skip to content

Commit

Permalink
rptest: label values must be strings
Browse files Browse the repository at this point in the history
  • Loading branch information
nvartolomei committed Feb 17, 2025
1 parent aad98b0 commit 94d2093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/rptest/services/redpanda.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ class MetricSamples:
def __init__(self, samples: list[MetricSample]):
self.samples = samples

def label_filter(self, labels: Mapping[str, float]):
def label_filter(self, labels: Mapping[str, str]):
def f(sample):
for key, value in labels.items():
assert key in sample.labels
Expand Down

0 comments on commit 94d2093

Please sign in to comment.