From 119e6d680b38b4d091967002ce05cd7f3f3eddbc Mon Sep 17 00:00:00 2001 From: saichint Date: Sat, 16 Jun 2018 07:53:29 -0700 Subject: [PATCH] fix nxos_linkagg issue (#41550) * fix nxos_linkagg issue * fix shippable --- lib/ansible/modules/network/nxos/nxos_linkagg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/network/nxos/nxos_linkagg.py b/lib/ansible/modules/network/nxos/nxos_linkagg.py index bf1df1d2a83..f858945d953 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: