From 67317f88dfbd969764e3c8f19d4a67180b5e1c61 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 17 Apr 2021 00:30:48 -0400 Subject: [PATCH] fix: do not force fetching of the DOKKU_SCALE file --- plugins/app-json/functions.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/app-json/functions.go b/plugins/app-json/functions.go index c47bf468c..32ec5a276 100644 --- a/plugins/app-json/functions.go +++ b/plugins/app-json/functions.go @@ -533,9 +533,7 @@ func injectDokkuScale(appName string, image string) error { os.Remove(dokkuScaleFile) } - if err := common.CopyFromImage(appName, image, "DOKKU_SCALE", dokkuScaleFile); err != nil { - return err - } + common.CopyFromImage(appName, image, "DOKKU_SCALE", dokkuScaleFile) if !common.FileExists(dokkuScaleFile) { return nil