fix: ensure the scale file has correct processes when it exists

This commit is contained in:
Jose Diaz-Gonzalez committed 2020-11-21 20:57:33 -05:00
1 parent bc9a60f696
commit 1b50b4ab0a
1 file changed
+1 -1
+1 -1
View File
@@ -66,7 +66,7 @@ func extractOrGenerateScalefile(appName string, image string) error {
if common.FileExists(destination) { if common.FileExists(destination) {
common.LogInfo1Quiet("DOKKU_SCALE file exists") 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...") common.LogInfo1Quiet("DOKKU_SCALE file not found in app image. Generating one based on Procfile...")