Add etcd as a service discovery mechanism

pull/2318/head
skiffer-git 1 year ago
parent 0fed297615
commit 3d4e95d7c8

@ -100,6 +100,7 @@ func (r *SvcDiscoveryRegistryImpl) GetConns(ctx context.Context, serviceName str
r.mu.RLock() r.mu.RLock()
defer r.mu.RUnlock() defer r.mu.RUnlock()
fmt.Printf("all conns ", serviceName, r.connMap[fullServiceKey])
return r.connMap[fullServiceKey], nil return r.connMap[fullServiceKey], nil
} }

Loading…
Cancel
Save