Skip to content
Snippets Groups Projects
Commit 5c61f14c authored by Thomas Woerner's avatar Thomas Woerner
Browse files

ipaservice: Do not set continue to None for service_del

delete_continue defaults to None. The use of continue: None is resulting
in an error with the batch command. Therefore only set continue if it is
not None.
parent cbff802d
No related branches found
No related tags found
No related merge requests found
...@@ -840,7 +840,9 @@ def main(): ...@@ -840,7 +840,9 @@ def main():
elif state == "absent": elif state == "absent":
if action == "service": if action == "service":
if res_find is not None: if res_find is not None:
args = {'continue': delete_continue} args = {}
if delete_continue is not None:
args['continue'] = delete_continue
commands.append([name, 'service_del', args]) commands.append([name, 'service_del', args])
elif action == "member": elif action == "member":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment