Skip to content

Commit

Permalink
update tag module to hardware
Browse files Browse the repository at this point in the history
  • Loading branch information
dbsqp authored Apr 12, 2021
1 parent 19b2a92 commit 7a46e4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nut-influxdbv2-exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def construct_object(data, remove_keys, host):

for k, v in data.items():
if k == "device.model":
tags["module"]=v
tags["hardware"]=v
else:
if k in remove_keys:
continue
Expand Down

0 comments on commit 7a46e4f

Please sign in to comment.