fix: correct guard

This commit is contained in:
Jose Diaz-Gonzalez
2021-08-01 18:46:41 -04:00
parent a7593db0c3
commit eb55ba5dd0

View File

@@ -503,7 +503,7 @@ func setScale(appName string, image string) error {
args = append(args, fmt.Sprintf("%s=%d", processType, formation.Quantity))
}
if len(args) == 2 {
if len(args) == 3 {
return common.PlugnTrigger("ps-can-scale", []string{appName, "true"}...)
}