mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-03 04:07:51 +08:00
mdify batch-upgrade-service
This commit is contained in:
parent
04065038f7
commit
cdf91ad3c8
@ -99,7 +99,7 @@ func createBatchEvents(build *model.BeatchOperationRequestStruct, tenantID strin
|
||||
build.Body.StopInfos[i].EventID = event.EventID
|
||||
}
|
||||
for i := range build.Body.UpgradeInfos {
|
||||
event, err := util.CreateEvent(dbmodel.TargetTypeService, "batch-build-service", build.Body.UpgradeInfos[i].ServiceID, tenantID, "", "system", dbmodel.ASYNEVENTTYPE)
|
||||
event, err := util.CreateEvent(dbmodel.TargetTypeService, "batch-upgrade-service", build.Body.UpgradeInfos[i].ServiceID, tenantID, "", "system", dbmodel.ASYNEVENTTYPE)
|
||||
if err != nil {
|
||||
re.BatchResult = append(re.BatchResult, handler.OperationResult{ErrMsg: "create event failure", ServiceID: build.Body.UpgradeInfos[i].ServiceID})
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user