Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: NilashishC <[email protected]>
  • Loading branch information
NilashishC committed Nov 24, 2023
1 parent 78bab98 commit 86f95f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/module_utils/network/nxos/facts/vlans/vlans.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def normalize_table_data(self, structured, run_cfg_output):
# "vlanshowinfo-vlanmode": "ce-vlan"}}
mtuinfo = structured["TABLE_mtuinfo"]["ROW_mtuinfo"]

if isinstance(vlanbrief, list):
if not isinstance(vlanbrief, list):
# vlanbrief is not a list when only one vlan is found.
vlanbrief = [vlanbrief]
mtuinfo = [mtuinfo]
Expand Down

0 comments on commit 86f95f8

Please sign in to comment.