fix: do not delete the destination scale file if it was not extracted previously

This commit is contained in:
Jose Diaz-Gonzalez
2020-11-07 13:05:10 -05:00
parent bf84405b43
commit db435c40e5
2 changed files with 8 additions and 3 deletions

View File

@@ -132,6 +132,7 @@ func TriggerPreDeploy(appName string, imageTag string) error {
if err := extractProcfile(appName, image, procfilePath); err != nil {
return err
}
if err := extractOrGenerateScalefile(appName, imageTag); err != nil {
return err
}