fix: ensure the scale file has correct processes when it exists
This commit is contained in:
@@ -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...")
|
||||||
|
|||||||
Reference in New Issue
Block a user