fix: correct ps-can-scale guard

This commit is contained in:
Jose Diaz-Gonzalez
2021-08-01 16:26:29 -04:00
parent ef262c26e8
commit 70eb751868

View File

@@ -501,7 +501,7 @@ func setScale(appName string, image string) error {
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"}...)
}