fix: keep track of old scale values for a single deploy

This will ensure we scale things down after usage.
This commit is contained in:
Jose Diaz-Gonzalez
2022-11-27 15:02:45 -05:00
parent 7cc3f33590
commit e458c8e4a6
2 changed files with 26 additions and 1 deletions

View File

@@ -42,6 +42,10 @@ func TriggerCorePostDeploy(appName string) error {
}
}
if err := common.PropertyDelete("ps", appName, "scale.old"); err != nil {
return err
}
entries := map[string]string{
"DOKKU_APP_RESTORE": "1",
}