Merge 5b265c5a3fc7fbc2b4660b2133689e15368d9808 into 2f7561bf49d622af7e47dd4d01fdad204fb2efcd

This commit is contained in:
buvidk1234 2026-07-23 16:26:32 +08:00 committed by GitHub
commit 36f21c7779
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()