fix: correct ps-can-scale guard

This commit is contained in:
Jose Diaz-Gonzalez committed 2021-08-01 16:26:29 -04:00
1 parent ef262c26e8
commit 70eb751868
1 file changed
+1 -1
+1 -1
View File
@@ -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"}...)
} }