Merge 5b265c5a3fc7fbc2b4660b2133689e15368d9808 into a5b427a3d6c051697bd4c94d26ba48bf91811714

This commit is contained in:
buvidk1234 2026-10-21 06:19:11 +00:00 committed by GitHub
commit 16d8eac6b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -101,6 +101,7 @@ func (k *KubernetesConnManager) GetConns(ctx context.Context, serviceName string
// Check if another goroutine has already initialized the connections when we released the read lock
conns, exists = k.connMap[serviceName]
if exists {
k.mu.Unlock()
return conns, nil
}
k.mu.Unlock()