various cleanups to address linter issues

Signed-off-by: Dominik Süß <dominik@suess.wtf>
This commit is contained in:
Dominik Süß
2018-10-13 21:14:03 +02:00
parent 398f670bcb
commit 0b412e9482
16 changed files with 23 additions and 78 deletions
+2 -10
View File
@@ -22,11 +22,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()
},
}
@@ -48,10 +44,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()
},
}