fix: correct ps-can-scale guard
This commit is contained in:
1 parent
ef262c26e8
commit
70eb751868
1 file changed
+1
-1
@@ -501,7 +501,7 @@ func setScale(appName string, image string) error {
|
|||||||
args = append(args, fmt.Sprintf("%s=%d", processType, formation.Quantity))
|
args = append(args, fmt.Sprintf("%s=%d", processType, formation.Quantity))
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(args) == 1 {
|
if len(args) == 2 {
|
||||||
return common.PlugnTrigger("ps-can-scale", []string{appName, "true"}...)
|
return common.PlugnTrigger("ps-can-scale", []string{appName, "true"}...)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user