From 601f808b6d93fdff2dfee7429cb0290900d690be Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 8 Jan 2025 06:33:34 +0000 Subject: [PATCH] chore: auto fixes from pre-commit.com hooks --- plugins/module_utils/network/nxos/facts/legacy/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/module_utils/network/nxos/facts/legacy/base.py b/plugins/module_utils/network/nxos/facts/legacy/base.py index ce8cec068..7bc288b44 100644 --- a/plugins/module_utils/network/nxos/facts/legacy/base.py +++ b/plugins/module_utils/network/nxos/facts/legacy/base.py @@ -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 {