fix rolling-upgrade event bugs, do not use system as username

This commit is contained in:
凡羊羊 2019-08-29 19:45:56 +08:00
parent 12758c174b
commit de45da0619

View File

@ -388,7 +388,7 @@ func (e *exectorManager) sendAction(tenantID, serviceID, eventID, newVersion, ac
OptType: "upgrade",
Target: "service",
TargetID: serviceID,
UserName: "system",
UserName: "",
SynType: dbmodel.ASYNEVENTTYPE,
}
if err := db.GetManager().ServiceEventDao().AddModel(event); err != nil {