mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-06 05:31:47 +00:00
Cleanup redundant else statements find via golint #11602
Signed-off-by: George MacRorie <gmacr31@gmail.com>
This commit is contained in:
@@ -395,9 +395,8 @@ func getSliceOfPausedContainers() ([]string, error) {
|
||||
if err == nil {
|
||||
slice := strings.Split(strings.TrimSpace(out), "\n")
|
||||
return slice, err
|
||||
} else {
|
||||
return []string{out}, err
|
||||
}
|
||||
return []string{out}, err
|
||||
}
|
||||
|
||||
func unpauseContainer(container string) error {
|
||||
|
||||
Reference in New Issue
Block a user