summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsaichint <saichint@cisco.com>2018-06-16 07:53:29 -0700
committerMatt Clay <matt@mystile.com>2018-06-18 11:16:48 -0700
commit3278ef4a6b6217652c53e63fb8c971db2d8036fa (patch)
treeb5a0caa7b41dd5955f7f034aa9bf8212735af489
parent1a5ba963b67000b2e2c3f52858f852ab43e98162 (diff)
downloadansible-3278ef4a6b6217652c53e63fb8c971db2d8036fa.tar.gz
fix nxos_linkagg issue (#41550)
* fix nxos_linkagg issue * fix shippable (cherry picked from commit 119e6d680b38b4d091967002ce05cd7f3f3eddbc)
-rw-r--r--lib/ansible/modules/network/nxos/nxos_linkagg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/modules/network/nxos/nxos_linkagg.py b/lib/ansible/modules/network/nxos/nxos_linkagg.py
index bf1df1d2a8..f858945d95 100644
--- a/lib/ansible/modules/network/nxos/nxos_linkagg.py
+++ b/lib/ansible/modules/network/nxos/nxos_linkagg.py
@@ -327,7 +327,7 @@ def map_config_to_obj(module):
try:
channels = output['TABLE_channel']['ROW_channel']
- except KeyError:
+ except (TypeError, KeyError):
return objs
if channels: