Fixing some lint issues

Signed-off-by: Amim Knabben <amim.knabben@gmail.com>
This commit is contained in:
Amim Knabben
2020-10-02 23:12:29 -04:00
parent bb539a9965
commit 978fa6e906
13 changed files with 35 additions and 23 deletions
+1 -1
View File
@@ -1528,7 +1528,7 @@ func (c *linuxContainer) criuSwrk(process *Process, req *criurpc.CriuReq, opts *
buf := make([]byte, 10*4096)
oob := make([]byte, 4096)
for true {
for {
n, oobn, _, _, err := criuClientCon.ReadMsgUnix(buf, oob)
if req.Opts != nil && req.Opts.StatusFd != nil {
// Close status_fd as soon as we got something back from criu,