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

This commit is contained in:
Jose Diaz-Gonzalez committed 2020-11-21 20:57:33 -05:00
1 parent 54fb2b5d75
commit 833a64cc0e
1 file changed
+1 -1
+1 -1
View File
@@ -14,7 +14,7 @@ import (
) )
func canScaleApp(appName string) bool { func canScaleApp(appName string) bool {
return !common.FileExists(getScalefilePath(appName)) return !common.FileExists(getScalefileExtractedPath(appName))
} }
func extractProcfile(appName, image string, procfilePath string) error { func extractProcfile(appName, image string, procfilePath string) error {