Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
drotscher authored Feb 22, 2024
1 parent 92475ae commit 893e88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metricq_source_ipmi/source/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ async def create_conf_and_metrics(conf_part, default_interval):
interval = conf_part.get('interval', default_interval)
new_conf = {
'metrics': {},
'record_ids': conf_part['record_ids'] if 'record_ids' in conf_part.keys() else set(),
'record_ids': None if conf_part.get('disable_record_ids', False) else set(),
'hosts': {},
# 'active_hosts' serves for performance.
# That not always an additional loop has to be made to check who is active.
Expand Down

0 comments on commit 893e88d

Please sign in to comment.