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

This commit is contained in:
Jose Diaz-Gonzalez
2020-11-18 12:29:03 -05:00
parent bc9a60f696
commit 1b50b4ab0a

View File

@@ -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...")