diff --git a/plugins/ps/.gitignore b/plugins/ps/.gitignore index 3922c71ac..528524b69 100644 --- a/plugins/ps/.gitignore +++ b/plugins/ps/.gitignore @@ -9,3 +9,4 @@ /pre-* /procfile-* /app-restart +/core-post-deploy diff --git a/plugins/ps/subcommands.go b/plugins/ps/subcommands.go index 16835c90f..9c675f872 100644 --- a/plugins/ps/subcommands.go +++ b/plugins/ps/subcommands.go @@ -121,21 +121,6 @@ func CommandScale(appName string, skipDeploy bool, processTuples []string) error } procfilePath := getProcfilePath(appName) - if !common.FileExists(procfilePath) { - extract := func() error { - image, err := common.GetDeployingAppImageName(appName, "", "") - if err != nil { - return nil - } - - return extractProcfile(appName, image) - } - - if err := common.SuppressOutput(extract); err != nil { - return err - } - } - if !hasScaleFile(appName) || common.FileExists(procfilePath) { update := func() error { return updateScalefile(appName, make(map[string]int))