server: fix call to logrus.Warnf

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2016-12-10 19:21:52 +01:00
parent a27a41431e
commit 67055e20bc
No known key found for this signature in database
GPG key ID: B2BEAD150DE936B9

View file

@ -69,7 +69,7 @@ func (s *Server) CreateContainer(ctx context.Context, req *pb.CreateContainerReq
s.releaseContainerName(containerName)
err1 := os.RemoveAll(containerDir)
if err1 != nil {
logrus.Warnf("Failed to cleanup container directory: %v")
logrus.Warnf("Failed to cleanup container directory: %v", err1)
}
}
}()