Merge pull request #1911 from theSuess/linter-fixes

Various cleanups to address linter issues
This commit is contained in:
Michael Crosby
2018-11-13 12:13:34 -05:00
committed by GitHub
16 changed files with 23 additions and 78 deletions
+2 -10
View File
@@ -32,11 +32,7 @@ Use runc list to identiy instances of containers and their current status.`,
if err != nil {
return err
}
if err := container.Pause(); err != nil {
return err
}
return nil
return container.Pause()
},
}
@@ -65,10 +61,6 @@ Use runc list to identiy instances of containers and their current status.`,
if err != nil {
return err
}
if err := container.Resume(); err != nil {
return err
}
return nil
return container.Resume()
},
}