fix: do not force fetching of the DOKKU_SCALE file

This commit is contained in:
Jose Diaz-Gonzalez committed 2021-07-31 20:54:14 -04:00
1 parent c6d99722eb
commit 67317f88df
1 file changed
+1 -3
+1 -3
View File
@@ -533,9 +533,7 @@ func injectDokkuScale(appName string, image string) error {
os.Remove(dokkuScaleFile) os.Remove(dokkuScaleFile)
} }
if err := common.CopyFromImage(appName, image, "DOKKU_SCALE", dokkuScaleFile); err != nil { common.CopyFromImage(appName, image, "DOKKU_SCALE", dokkuScaleFile)
return err
}
if !common.FileExists(dokkuScaleFile) { if !common.FileExists(dokkuScaleFile) {
return nil return nil