fix nil deref in auth.go

This commit is contained in:
Michael Yang 2024-07-26 14:10:18 -07:00
parent ec4c35fe99
commit a622c47bd3
2 changed files with 2 additions and 2 deletions

View file

@ -67,7 +67,7 @@ func getAuthorizationToken(ctx context.Context, challenge registryChallenge) (st
headers.Add("Authorization", signature)
response, err := makeRequest(ctx, http.MethodGet, redirectURL, headers, nil, nil)
response, err := makeRequest(ctx, http.MethodGet, redirectURL, headers, nil, &registryOptions{})
if err != nil {
return "", err
}