-
Notifications
You must be signed in to change notification settings - Fork 6
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
Detect running containers to remove unnecessary error messages #81
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the direction ... but a few comments along the way...
And do the other deployers have similar issues that should be addressed??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, still some minor comments, but you covered the most important ones; although gocritic
is critical of your structural choices.
Changes introduced with this PR
This PR makes it so it checks to see if the container is still running. Now, the only time it will warn is if it is still running.
I also downgraded several of the messages to Debug or Info.
I also made it output the failure reason when it fails to kill the container, but you should only see that now if there is an actual problem.
By contributing to this repository, I agree to the contribution guidelines.