Merge pull request #135918 from MarcosDaNight/fix/kubectl-exec-panic

kubectl: Fix panic in exec terminal size queue
This commit is contained in:
Kubernetes Prow Robot
2025-12-24 12:52:31 +05:30
committed by GitHub

View File

@@ -411,6 +411,10 @@ type terminalSizeQueueAdapter struct {
}
func (a *terminalSizeQueueAdapter) Next() *remotecommand.TerminalSize {
if a.delegate == nil {
return nil
}
next := a.delegate.Next()
if next == nil {
return nil