remove unused

This commit is contained in:
Michael Yang
2023-09-13 11:46:29 -07:00
parent d028853879
commit e6881cabd0
3 changed files with 3 additions and 3 deletions

View File

@@ -1394,7 +1394,7 @@ func makeRequestWithRetry(ctx context.Context, method string, requestURL *url.UR
case resp.StatusCode == http.StatusUnauthorized:
auth := resp.Header.Get("www-authenticate")
authRedir := ParseAuthRedirectString(auth)
token, err := getAuthToken(ctx, authRedir, regOpts)
token, err := getAuthToken(ctx, authRedir)
if err != nil {
return nil, err
}