-
-
Notifications
You must be signed in to change notification settings - Fork 451
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
Remove custom built docker image on container termination #405
Remove custom built docker image on container termination #405
Conversation
My gofumpt made some linting fixes, let me know if I should reverse them. |
Codecov Report
@@ Coverage Diff @@
## master #405 +/- ##
==========================================
+ Coverage 64.93% 65.20% +0.27%
==========================================
Files 19 19
Lines 1155 1164 +9
==========================================
+ Hits 750 759 +9
+ Misses 301 300 -1
- Partials 104 105 +1
Continue to review full report at Codecov.
|
@@ -192,15 +193,26 @@ func (c *DockerContainer) Terminate(ctx context.Context) error { | |||
RemoveVolumes: true, | |||
Force: true, | |||
}) | |||
if err != nil { | |||
return err |
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.
Cool! It seems we missed to handle this error
Hey @gaborszakacs thanks for this contribution. The ability you contributed was under our radar but had no time to implement it, so thank you very much for your contribution. Looks great! |
Addresses #303