Skip to content

Commit 0d99b91

Browse files
Black616AngelBlack616Angel
andauthored
Api command fixes (#106)
* Changed only when command not "show" * "incidents"-responses throw exception * revert, open support ticket --------- Co-authored-by: Black616Angel <extrem.schwarz@gmail.com>
1 parent ae098ac commit 0d99b91

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plugins/module_utils/checkpoint.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,9 @@ def api_command(module, command):
532532

533533
code, response = send_request(connection, version, command, payload)
534534
result = {"changed": True}
535+
536+
if command.startswith("show"):
537+
result['changed'] = False
535538

536539
if code == 200:
537540
if module.params["wait_for_task"]:

0 commit comments

Comments
 (0)