We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8e88c9 commit cb5da61Copy full SHA for cb5da61
discovery/consul_service_discovery.go
@@ -90,6 +90,7 @@ func (c *consulServiceDiscovery) GetNode(id string) (ServiceDiscoveryParams, err
90
91
func (c *consulServiceDiscovery) GetNodes() (ServiceDiscoveryParams, error) {
92
c.mu.RLock()
93
+ defer c.mu.RUnlock()
94
var consuls models.Consuls
95
for _, ci := range c.consulServices {
96
consuls = append(consuls, ci.params)
0 commit comments