mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-21 18:11:22 +00:00
Change the extractRT to return a non-nil Response.
This commit is contained in:
@@ -3235,7 +3235,7 @@ type extractRT struct {
|
||||
|
||||
func (rt *extractRT) RoundTrip(req *http.Request) (*http.Response, error) {
|
||||
rt.Header = req.Header
|
||||
return nil, nil
|
||||
return &http.Response{}, nil
|
||||
}
|
||||
|
||||
// headersForConfig extracts any http client logic necessary for the provided
|
||||
|
Reference in New Issue
Block a user