Skip to content
Snippets Groups Projects
Commit 5c3f71dc authored by Patrick's avatar Patrick
Browse files

add comment

parent c50da856
No related branches found
No related tags found
No related merge requests found
...@@ -117,6 +117,7 @@ func (proto *registryProtocol) initConfigurationListeners() { ...@@ -117,6 +117,7 @@ func (proto *registryProtocol) initConfigurationListeners() {
proto.providerConfigurationListener = newProviderConfigurationListener(proto.overrideListeners) proto.providerConfigurationListener = newProviderConfigurationListener(proto.overrideListeners)
} }
// nolint
func (proto *registryProtocol) GetRegistries() []registry.Registry { func (proto *registryProtocol) GetRegistries() []registry.Registry {
var rs []registry.Registry var rs []registry.Registry
proto.registries.Range(func(_, v interface{}) bool { proto.registries.Range(func(_, v interface{}) bool {
......
...@@ -17,7 +17,8 @@ ...@@ -17,7 +17,8 @@
package registry package registry
// ServiceDiscoveryHolder // ServiceDiscoveryHolder we can get a service discovery
// it always be a service discovery registry
type ServiceDiscoveryHolder interface { type ServiceDiscoveryHolder interface {
// GetServiceDiscovery get service discovery // GetServiceDiscovery get service discovery
GetServiceDiscovery() ServiceDiscovery GetServiceDiscovery() ServiceDiscovery
......
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