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 {