mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-21 22:49:31 +00:00
Automatic merge from submit-queue (batch tested with PRs 39772, 39831, 39481, 40167, 40149) Check if error is Status in result.Stream() Fix #38774 This adds the same functionality to `.Stream()` that was added to `.Error()`, `.Into()`, and `.Get()` ince187f9c6a
to try decoding the body as a Status. This broke `.Stream()` because the decoding of the body as `Status` was removed from `transformResponse` ince187f9c6a (diff-de85e3effc36b7bbe3fb9eae6c833cf3L933)