Skip to content

Commit

Permalink
fix: mark changed for all non-returning cases, regardless of response
Browse files Browse the repository at this point in the history
  • Loading branch information
jharmison-redhat committed Oct 18, 2023
1 parent 0430456 commit 5ee2e49
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugins/modules/start_compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,9 @@ def start_compose(module, weldr):
msg="Compose returned body: {0}, msg {1}, and status_code {2}".format(result["body"], result["error_msg"], result["status_code"]),
changed=changed
)
# Having received a non-400+ response, we know a compose has started
changed: bool = True

# Having received a non-400+ response, we know a compose has started
changed: bool = True

compose_output_types: dict[str, list[str]] = {
"tar": ["tar", "edge-commit", "iot-commit", "edge-container", "iot-container", "container"],
Expand Down

0 comments on commit 5ee2e49

Please sign in to comment.