mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-11-30 02:38:17 +08:00
change event channel name
This commit is contained in:
parent
00eb6ad1d9
commit
69e0fe2aa0
@ -385,7 +385,10 @@ func (e *exectorManager) sendAction(tenantID, serviceID, eventID, newVersion, ac
|
||||
ServiceID: serviceID,
|
||||
StartTime: time.Now().Format(time.RFC3339),
|
||||
OptType: "upgrade",
|
||||
Status: "running",
|
||||
Target: "service",
|
||||
TargetID: serviceID,
|
||||
UserName: "system",
|
||||
SynType: 1,
|
||||
}
|
||||
if err := db.GetManager().ServiceEventDao().AddModel(event); err != nil {
|
||||
logrus.Errorf("create upgrade event failure %s, service %s do not auto upgrade", err.Error(), serviceID)
|
||||
|
@ -155,7 +155,7 @@ func (p *PubContext) handleSubscribe(wm WebsocketMessage) {
|
||||
p.createChan(channel, "newmonitor", channelInfo[1])
|
||||
}
|
||||
if channelInfo[0] == "e" {
|
||||
p.createChan(channel, "newmonitor", channelInfo[1])
|
||||
p.createChan(channel, "event", channelInfo[1])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user