Skip to content

Commit

Permalink
fix nxos_banner (#34695)
Browse files Browse the repository at this point in the history
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
(cherry picked from commit 303894d)
  • Loading branch information
trishnaguha authored and abadger committed Jan 15, 2018
1 parent 6e59434 commit 0b0b02f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ansible/modules/network/nxos/nxos_banner.py
Expand Up @@ -117,6 +117,8 @@ def map_config_to_obj(module):

if isinstance(output, dict):
output = list(output.values())[0]
if isinstance(output, dict):
output = list(output.values())[0]

obj = {'banner': module.params['banner'], 'state': 'absent'}
if output:
Expand Down

0 comments on commit 0b0b02f

Please sign in to comment.