Commit 278041a9 authored by suyanlong's avatar suyanlong

Merge branch 'master' of https://gitlab.33.cn/link33/sidecar

parents 1ab3595a 2ab33312
......@@ -50,6 +50,7 @@ func (p *PortMap) add(pt Port) {
if p.local == nil {
p.local = pt
}
p.peerPort[pt.ID()] = pt
case Appchain:
p.appchainPort[pt.ID()] = pt
case Sidecar:
......@@ -163,6 +164,7 @@ func (p *PortMap) remove(pt Port) {
if p.local.ID() == pt.ID() {
p.local = nil
}
delete(p.peerPort, pt.ID())
case Appchain:
delete(p.appchainPort, pt.ID())
case Sidecar:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment