Skip to content

Commit

Permalink
fix unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
brmurphy committed Feb 27, 2024
1 parent 0382124 commit 87dd8e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eero_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]})

Expand Down

0 comments on commit 87dd8e0

Please sign in to comment.