From 833a64cc0e308ef4986d1f833e1026ed6cd5a446 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 2 Nov 2020 08:18:24 -0500 Subject: [PATCH] fix: check if it can scale by checking for an extracted file --- plugins/ps/functions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ps/functions.go b/plugins/ps/functions.go index a4ddd52fa..d276d8437 100644 --- a/plugins/ps/functions.go +++ b/plugins/ps/functions.go @@ -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 {