Skip to content

Commit

Permalink
run/runc: Add a debug message on container destruction
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Jung <a.jung@lancs.ac.uk>
  • Loading branch information
nderjung committed Dec 30, 2020
1 parent 57d209a commit b907d69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions run/runc.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ func (r *RuncRunner) Run() (int, error) {
// Destroy the runc container
func (r *RuncRunner) Destroy() error {
if r.container != nil {
r.log.Debugf("Destroying container")
r.container.Destroy()
r.container = nil
}
Expand Down

0 comments on commit b907d69

Please sign in to comment.