fix: check if it can scale by checking for an extracted file

This commit is contained in:
Jose Diaz-Gonzalez
2020-11-02 08:18:24 -05:00
parent 54fb2b5d75
commit 833a64cc0e

View File

@@ -14,7 +14,7 @@ import (
)
func canScaleApp(appName string) bool {
return !common.FileExists(getScalefilePath(appName))
return !common.FileExists(getScalefileExtractedPath(appName))
}
func extractProcfile(appName, image string, procfilePath string) error {