asa_config fix (#56559)

Signed-off-by: Rohit Thakur <rohitthakur2590@outlook.com>
pull/56563/head
Rohit 6 years ago committed by GitHub
parent 6c1dbbe554
commit 06c050e9bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -279,9 +279,9 @@ def run(module, result):
contents = module.params['config'] contents = module.params['config']
if not contents: if not contents:
contents = get_config(module) contents = get_config(module)
config = NetworkConfig(indent=1, contents=contents) config = NetworkConfig(indent=1, contents=contents)
configobjs = candidate.difference(config, path=path, match=match, configobjs = candidate.difference(config, path=path, match=match,
replace=replace) replace=replace)
else: else:
configobjs = candidate.items configobjs = candidate.items

Loading…
Cancel
Save