From 87dd8e0c6f7e315eea860a47914ee23fca1f5cb1 Mon Sep 17 00:00:00 2001 From: brian murphy Date: Tue, 27 Feb 2024 12:20:49 -0500 Subject: [PATCH] fix unused variable --- eero_exporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eero_exporter.py b/eero_exporter.py index 3894e3e..7568fe6 100644 --- a/eero_exporter.py +++ b/eero_exporter.py @@ -98,7 +98,7 @@ def collect(self): network_clients = eero_api_session.devices(network['url']) # Global Labels and Values - label_values = [network['url'].split('/')[3], network["name"], network["nickname_label"] if network["nickname_label"] != None else network["name"] ] + label_values = [network_id, network["name"], network["nickname_label"] if network["nickname_label"] != None else network["name"] ] metrics["ssid"].add_metric(label_values, value = {"ssid" : network["name"]})