diff --git a/registry/tokentransport.go b/registry/tokentransport.go index 1c7f5b8b..a03d5de5 100644 --- a/registry/tokentransport.go +++ b/registry/tokentransport.go @@ -42,7 +42,7 @@ func (t *TokenTransport) RoundTrip(req *http.Request) (*http.Response, error) { } type authToken struct { - Token string `json:"token"` + Token string `json:"access_token"` } func (t *TokenTransport) authAndRetry(authService *authService, req *http.Request) (*http.Response, error) {