From a5fc3cc8aa51424c3d1c753df160e9f980ef99c9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 27 Aug 2024 09:49:47 +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 0abcbb867..cc8a03243 100644 --- a/plugins/module_utils/network/nxos/facts/legacy/base.py +++ b/plugins/module_utils/network/nxos/facts/legacy/base.py @@ -270,7 +270,7 @@ def populate(self): self.populate_ipv6_interfaces(interfaces) data = self.run("show lldp neighbors", output="json") - neigh_count = data.get("neigh_count", '0') + neigh_count = data.get("neigh_count", "0") if data and int(neigh_count) != 0: if isinstance(data, dict): self.facts["neighbors"].update(