refactor: refactoring of code to meet all golangci-lint requirements
This commit is contained in:
@@ -76,7 +76,7 @@ func (oauth *OauthRulerMiddleware) getUserInfo(token *oauth2.Token) (UserInfo, e
|
||||
defer func(Body io.ReadCloser) {
|
||||
err := Body.Close()
|
||||
if err != nil {
|
||||
|
||||
return
|
||||
}
|
||||
}(resp.Body)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user