Merge pull request #132633 from estesp/fix-concurrent-map-write-logline

fix: kubelet CRI portforward concurrent map write on error
This commit is contained in:
Kubernetes Prow Robot
2025-06-30 19:50:37 -07:00
committed by GitHub

View File

@@ -140,7 +140,7 @@ func (h *httpStreamHandler) getStreamPair(requestID string) (*httpStreamPair, bo
func (h *httpStreamHandler) monitorStreamPair(p *httpStreamPair, timeout <-chan time.Time) {
select {
case <-timeout:
err := fmt.Errorf("(conn=%v, request=%s) timed out waiting for streams", h.conn, p.requestID)
err := fmt.Errorf("(conn=%p, request=%s) timed out waiting for streams", h.conn, p.requestID)
utilruntime.HandleError(err)
p.printError(err.Error())
case <-p.complete: