fix: do not force fetching of the DOKKU_SCALE file
This commit is contained in:
1 parent
c6d99722eb
commit
67317f88df
1 file changed
+1
-3
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user