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

add comment

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