Skip to content

Commit

Permalink
修复BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
dobyte committed Jul 15, 2024
1 parent 226cca2 commit 254d5c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cluster/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ func (n *Node) Start() {
return
}

if n.opts.transporter != nil {
n.opts.transporter.SetDefaultDiscovery(n.opts.registry)
}

n.startLinkServer()

n.registerServiceInstance()
Expand Down

0 comments on commit 254d5c0

Please sign in to comment.