From 82f13af166d147ee2c100595b8de671f1872a903 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 18 Nov 2020 01:24:31 -0500 Subject: [PATCH] chore: return early --- plugins/ps/functions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ps/functions.go b/plugins/ps/functions.go index ef12a1b02..40cdb3deb 100644 --- a/plugins/ps/functions.go +++ b/plugins/ps/functions.go @@ -297,12 +297,12 @@ func scaleSet(appName string, skipDeploy bool, processTuples []string) error { return fmt.Errorf("App %s contains DOKKU_SCALE file and cannot be manually scaled", appName) } - common.LogInfo1(fmt.Sprintf("Scaling %s processes: %s", appName, strings.Join(processTuples, " "))) scale, err := parseProcessTuples(processTuples) if err != nil { return err } + common.LogInfo1(fmt.Sprintf("Scaling %s processes: %s", appName, strings.Join(processTuples, " "))) if err := updateScalefile(appName, scale); err != nil { return err }