mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-11-29 18:27:58 +08:00
add docker and monitor sub channel
This commit is contained in:
parent
502b2077fa
commit
26b50e3d72
@ -161,6 +161,12 @@ func (p *PubContext) handleSubscribe(wm WebsocketMessage) {
|
||||
p.createChan(channel, "docker", channelInfo[1])
|
||||
p.createChan(channel, "newmonitor", channelInfo[1])
|
||||
}
|
||||
if channelInfo[0] == "l" {
|
||||
p.createChan(channel, "docker", channelInfo[1])
|
||||
}
|
||||
if channelInfo[0] == "m" {
|
||||
p.createChan(channel, "newmonitor", channelInfo[1])
|
||||
}
|
||||
if channelInfo[0] == "e" {
|
||||
p.createChan(channel, "event", channelInfo[1])
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user