Fixes #24375 Add check to identify if diff is empty (#24377)

* Fix #24375 Add check to identify if diff is empty
pull/24381/head
Ganesh Nalawade 8 years ago committed by GitHub
parent d072d91aed
commit 4186b07d21

@ -348,7 +348,7 @@ def main():
else:
diff = configure_device(module, warnings)
if diff is not None:
if diff:
if module._diff:
result['diff'] = {'prepared': diff}
result['changed'] = True

Loading…
Cancel
Save