From 483e431f2e85edcb6f6913f5df01c143eb7cb110 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 7 Feb 2024 21:41:17 +0100 Subject: [PATCH] Update kea_exporter/base_exporter.py --- kea_exporter/base_exporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kea_exporter/base_exporter.py b/kea_exporter/base_exporter.py index 2a1bfda..09da4b3 100644 --- a/kea_exporter/base_exporter.py +++ b/kea_exporter/base_exporter.py @@ -500,7 +500,7 @@ def parse_metrics(self, dhcp_version, arguments, subnets): self.subnet_missing_info_sent.get(dhcp_version, []).append(f"{subnet_id}-{pool_index}") click.echo( "Ignoring metric because subnet vanished from configuration: " - f"dhcp_version: {dhcp_version.name}, subnet_id: {subnet_id}, pool_idx: {pool_index}", + f"{dhcp_version.name=}, {subnet_id=}, {pool_index=}", file=sys.stderr, ) continue