fix nxos_banner (#34695)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
Trishna Guha 2018-01-11 21:13:00 +05:30 committed by GitHub
parent df8b01aaf7
commit 303894dd17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: