Skip to content

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
joente committed Jun 12, 2024
1 parent ac659d4 commit 981aaa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/check/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async def check_node(
'kversion': node.get('kversion'), # str
'pveversion': node.get('pveversion'), # str
'loadavg': [float(v) for v in node['loadavg']] \
if isinstance(node.get('loadavg'), list) else None,
if isinstance(node.get('loadavg'), list) else None,
'cpu': to_float(node.get('cpu')), # float
'idle': to_float(node.get('idle')), # float
'wait': to_float(node.get('wait')), # float
Expand Down

0 comments on commit 981aaa1

Please sign in to comment.