Skip to content

Commit

Permalink
chore: auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 8, 2025
1 parent 2395159 commit 601f808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/module_utils/network/nxos/facts/legacy/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def populate(self):
self.facts["cpu_utilization"] = self.parse_cpu_utilization(data)

def parse_cpu_utilization(self, data):
onemin = data.get("onemin_percent",0)
onemin = data.get("onemin_percent", 0)
if isinstance(onemin, list):
onemin = onemin[1]
return {
Expand Down

0 comments on commit 601f808

Please sign in to comment.