Resolved the issue where the final deployment logs for the domain were not recorded after immediate execution.

This commit is contained in:
yoan
2024-08-21 21:34:11 +08:00
parent f6760515e9
commit bbc6d094c3
4 changed files with 41 additions and 6 deletions

View File

@@ -77,6 +77,7 @@ func (a *history) commit() error {
domainRecord.Set("lastDeployedAt", a.DeployedAt)
domainRecord.Set("lastDeployment", record.Id)
domainRecord.Set("rightnow", false)
if err := app.GetApp().Dao().SaveRecord(domainRecord); err != nil {
return err