mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-10 21:53:57 +08:00
Merge pull request #1911 from theSuess/linter-fixes
Various cleanups to address linter issues
This commit is contained in:
@@ -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()
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user