fix: check if it can scale by checking for an extracted file
This commit is contained in:
1 parent
54fb2b5d75
commit
833a64cc0e
1 file changed
+1
-1
@@ -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 {
|
||||||
|
|||||||
Reference in new issue
Block a user