Skip to content

Commit

Permalink
Fix:ENV DUBBO_IP_TO_REGISTRY doesn't work (#2138)
Browse files Browse the repository at this point in the history
* fix don't support DUBBO_IP_TO_REGISTRY
  • Loading branch information
Code-Fight authored Nov 27, 2022
1 parent 16f5a0f commit 9007a29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions registry/servicediscovery/service_discovery_registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ func (s *serviceDiscoveryRegistry) Register(url *common.URL) error {
if !shouldRegister(url) {
return nil
}
common.HandleRegisterIPAndPort(url)
ok, err := s.metaDataService.ExportURL(url)

if err != nil {
Expand Down

0 comments on commit 9007a29

Please sign in to comment.