tdiesler commented on code in PR #5374:
URL: https://github.com/apache/camel-k/pull/5374#discussion_r1567303112


##########
pkg/client/client.go:
##########
@@ -54,7 +54,7 @@ const (
        kubeConfigEnvVar         = "KUBECONFIG"
 )
 
-var newClientMutex sync.Mutex
+var newClientMutex sync.RWMutex

Review Comment:
   I believe, this would have no effect unless you also use RLock() 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to