From d351a4837946afbeca55484eadf0c0485f376732 Mon Sep 17 00:00:00 2001 From: Tommie Gannert Date: Fri, 27 May 2022 19:37:41 +0200 Subject: [PATCH] Fix a golangci-lint issue. --- clientapi/auth/sso/oauth2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientapi/auth/sso/oauth2.go b/clientapi/auth/sso/oauth2.go index cd6186938..82abd9c6b 100644 --- a/clientapi/auth/sso/oauth2.go +++ b/clientapi/auth/sso/oauth2.go @@ -200,7 +200,7 @@ func httpDo(ctx context.Context, hc *http.Client, req *http.Request) (*http.Resp } if resp.StatusCode/100 != 2 { - defer resp.Body.Close() + defer resp.Body.Close() // nolint:errcheck contentType := resp.Header.Get("Content-Type") switch {