server: fix call to logrus.Warnf
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
a27a41431e
commit
67055e20bc
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ func (s *Server) CreateContainer(ctx context.Context, req *pb.CreateContainerReq
|
||||||
s.releaseContainerName(containerName)
|
s.releaseContainerName(containerName)
|
||||||
err1 := os.RemoveAll(containerDir)
|
err1 := os.RemoveAll(containerDir)
|
||||||
if err1 != nil {
|
if err1 != nil {
|
||||||
logrus.Warnf("Failed to cleanup container directory: %v")
|
logrus.Warnf("Failed to cleanup container directory: %v", err1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
Loading…
Reference in a new issue