Merge pull request #256 from runcom/err-warnf-format

server: fix call to logrus.Warnf
This commit is contained in:
Mrunal Patel 2016-12-10 16:11:30 -08:00 committed by GitHub
commit 80ccc3a455

View file

@ -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)
} }
} }
}() }()