From 1b50b4ab0abda7236de07e1c61850c14c822601e Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 18 Nov 2020 12:29:03 -0500 Subject: [PATCH] fix: ensure the scale file has correct processes when it exists --- 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 4a6183d6a..f95b1f162 100644 --- a/plugins/ps/functions.go +++ b/plugins/ps/functions.go @@ -66,7 +66,7 @@ func extractOrGenerateScalefile(appName string, image string) error { if common.FileExists(destination) { common.LogInfo1Quiet("DOKKU_SCALE file exists") - return nil + return updateScalefile(appName, make(map[string]int)) } common.LogInfo1Quiet("DOKKU_SCALE file not found in app image. Generating one based on Procfile...")