Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

feat: return the exit code of docker compose in case of failure #803

Merged
merged 1 commit into from Mar 25, 2020

Conversation

kuisathaverat
Copy link
Contributor

@kuisathaverat kuisathaverat commented Mar 25, 2020

What does this PR do?

It waits for the return code of the docker-compose command and raises an exception if it is no equal 0.

Why is it important?

The current behavior does not check the return code if the command fails, the exit code of compose.py is 0 in any case.

Related issues

Closes #800

@kuisathaverat kuisathaverat merged commit 4c4c30d into elastic:master Mar 25, 2020
@kuisathaverat kuisathaverat deleted the return-code branch March 25, 2020 23:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Preserve exit code when docker-compose exists with an error
4 participants