Merge pull request #13252 from scottrigby/fix-linting-err-for-12876

Fix linting error for pr 12876
pull/13253/head
Matt Farina 1 year ago committed by GitHub
commit 22bc28c55d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -108,7 +108,7 @@ func fakeClientWith(code int, gv schema.GroupVersion, body string) *fake.RESTCli
return &fake.RESTClient{
GroupVersion: gv,
NegotiatedSerializer: scheme.Codecs.WithoutConversion(),
Client: fake.CreateHTTPClient(func(req *http.Request) (*http.Response, error) {
Client: fake.CreateHTTPClient(func(_ *http.Request) (*http.Response, error) {
header := http.Header{}
header.Set("Content-Type", runtime.ContentTypeJSON)
return &http.Response{

Loading…
Cancel
Save