Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore stderr returned from docker-compose command #720

Open
Sam-Kramer opened this issue Oct 21, 2022 · 0 comments
Open

Ignore stderr returned from docker-compose command #720

Sam-Kramer opened this issue Oct 21, 2022 · 0 comments

Comments

@Sam-Kramer
Copy link

What happened?

A docker-compose file we had was using a deprecated property, and as a result would warn log to stderr. This ends up breaking docker-compose-rule downstream whenever we parse command output (such as when we list services) as the warn message will be seen as a valid input.

What did you want to happen?

Separate stdin from stderr when parsing command responses; probably makes sense to not ignore the warn (maybe log) but shouldn't cause catastrophic failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant