fix: ensure the scale file has correct processes when it exists
This commit is contained in:
1 parent
bc9a60f696
commit
1b50b4ab0a
1 file changed
+1
-1
@@ -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...")
|
||||
|
||||
Reference in new issue
Block a user