Re-run gofmt against staging/src/k8s.io/client-go/transport/

Kubernetes-commit: 1449af17555eb5148d11556ee205c42b83821af0
This commit is contained in:
Andrea Tosatto 2021-01-27 00:08:07 +00:00 committed by Kubernetes Publisher
parent e87f4d8d19
commit ef84e47785
2 changed files with 4 additions and 4 deletions

View File

@ -24,8 +24,8 @@ import (
"golang.org/x/oauth2"
"k8s.io/klog/v2"
utilnet "k8s.io/apimachinery/pkg/util/net"
"k8s.io/klog/v2"
)
// HTTPWrappersForConfig wraps a round tripper with any relevant layered

View File

@ -424,15 +424,15 @@ func TestDebuggingRoundTripper(t *testing.T) {
req := &http.Request{
Method: http.MethodGet,
Header: map[string][]string{
"Authorization": []string{"bearer secretauthtoken"},
"X-Test-Request": []string{"test"},
"Authorization": {"bearer secretauthtoken"},
"X-Test-Request": {"test"},
},
}
res := &http.Response{
Status: "OK",
StatusCode: http.StatusOK,
Header: map[string][]string{
"X-Test-Response": []string{"test"},
"X-Test-Response": {"test"},
},
}
tcs := []struct {