From eb55ba5dd04706f3c8ac810f666cc10508f54854 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 1 Aug 2021 18:46:41 -0400 Subject: [PATCH] fix: correct guard --- plugins/app-json/functions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/app-json/functions.go b/plugins/app-json/functions.go index 41f671295..93688a1ae 100644 --- a/plugins/app-json/functions.go +++ b/plugins/app-json/functions.go @@ -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"}...) }