• Kubernetes Submit Queue's avatar
    Merge pull request #32048 from smarterclayton/consistent_errors · 27c093ea
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Handle Stream() errors consistently in restclient
    
    We should be following the same rules for Stream() as the normal body
    request flow.
    
    Also add slightly more output on a server error - in the future we may
    want to clean this up but it's potentially hiding bad responses.
    
    Related to #32009 but isn't the fix (so far)
    27c093ea
request.go 33.7 KB