Skip to content

Commit

Permalink
Update naming_server.go
Browse files Browse the repository at this point in the history
  • Loading branch information
xxjwxc committed May 9, 2020
1 parent 3856d6b commit e365342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/naming_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ func (s *namingResolver) Init(opts ...Option) error {
// NewSubscriber(string, interface{}, ...SubscriberOption) Subscriber
// Subscribe(Subscriber) error
func (s *namingResolver) Start() error {
lis := s.opts.getListener()
gs := s.GetServer()
s.Lock()
defer s.Unlock()
lis := s.opts.getListener()

if s.started {
return nil
Expand Down

0 comments on commit e365342

Please sign in to comment.