fix: reference extracted Procfile

Rather than attempting to always extract the Procfile, reference the one that was extracted by the last deploy. This fixes issues where 'docker container cp' may fail intermittently for lord knows what reason.

Closes #4083
This commit is contained in:
Jose Diaz-Gonzalez committed 2020-11-22 17:14:18 -05:00
1 parent e0127250ae
commit fceb412fb1
5 files changed
+28 -46

No files matched your search

+1 -2
View File
@@ -62,8 +62,7 @@ func main() {
err = ps.TriggerProcfileGetCommand(appName, processType, port)
case "procfile-remove":
appName := flag.Arg(0)
procfilePath := flag.Arg(1)
err = ps.TriggerProcfileRemove(appName, procfilePath)
err = ps.TriggerProcfileRemove(appName)
case "report":
appName := flag.Arg(0)
err = ps.ReportSingleApp(appName, "")