Fixed bug when asa_acl terminates when lines array is empty (#63838)

* Fixed bug when asa_acl terminates when lines array is empty

* Removed redundant blank lines
This commit is contained in:
Rishabh Saxena 2019-12-11 07:32:05 +00:00 committed by Sumit Jaiswal
parent bcc2ffdbf9
commit 895c8ce373

View file

@ -185,7 +185,7 @@ def main():
lines = module.params['lines']
result = {'changed': False}
if len(lines) > 0:
candidate = NetworkConfig(indent=1)
candidate.add(lines)