diff --git a/plugins/ps/functions.go b/plugins/ps/functions.go index f2d91baae..3a1b6abd9 100644 --- a/plugins/ps/functions.go +++ b/plugins/ps/functions.go @@ -395,6 +395,10 @@ func scaleSet(appName string, skipDeploy bool, processTuples []string) error { return err } + if skipDeploy { + return nil + } + if !common.IsDeployed(appName) { return nil } @@ -404,10 +408,6 @@ func scaleSet(appName string, skipDeploy bool, processTuples []string) error { return err } - if skipDeploy { - return nil - } - return common.PlugnTrigger("release-and-deploy", []string{appName, imageTag}...) }