Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
normelton committed Dec 16, 2024
1 parent 9c74656 commit b2fffff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kea_exporter/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ def parse_metrics(self, target_name, dhcp_version, arguments, subnets):

# merge static and dynamic labels
labels.update(metric_info.get("labels", {}))
labels.update("server": target_name)
labels.update({"server": target_name})

# Filter labels that are not configured for the metric
labels = {key: val for key, val in labels.items() if key in metric._labelnames}
Expand Down

0 comments on commit b2fffff

Please sign in to comment.