Skip to content

Commit

Permalink
fix create_temporary response handling
Browse files Browse the repository at this point in the history
  • Loading branch information
OrrBG committed Jan 1, 2025
1 parent c15078a commit 6fb37b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/module_utils/vmware_rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ async def update_changed_flag(data, status, operation):
elif operation == "update" and status in [200, 204]:
data["failed"] = False
data["changed"] = True
elif operation == "upgrade" and status in [200]:
elif operation in ["upgrade", "create_temporary"] and status == 200:
data["failed"] = False
data["changed"] = True
elif operation == "set" and status in [200, 204]:
Expand Down

0 comments on commit 6fb37b6

Please sign in to comment.