chore: drop redundant if guard
This commit is contained in:
1 parent
c58cb02689
commit
5103ee21aa
1 file changed
+1
-5
@@ -114,11 +114,7 @@ func CommandRetire(appName string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
common.LogInfo1("Retiring old containers and images")
|
common.LogInfo1("Retiring old containers and images")
|
||||||
if err := common.PlugnTrigger("scheduler-retire", []string{scheduler, appName}...); err != nil {
|
return common.PlugnTrigger("scheduler-retire", []string{scheduler, appName}...)
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
return nil
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// CommandScale gets or sets how many instances of a given process to run
|
// CommandScale gets or sets how many instances of a given process to run
|
||||||
|
|||||||
Reference in new issue
Block a user