diff --git a/oras/auth/token.py b/oras/auth/token.py index 3a73b47..0e47b26 100644 --- a/oras/auth/token.py +++ b/oras/auth/token.py @@ -48,7 +48,7 @@ def authenticate_request( original: requests.Response, headers: dict, refresh=False, - skipAnonToken=False, + skip_anon_token=False, ): """ Authenticate Request @@ -77,7 +77,7 @@ def authenticate_request( h = auth_utils.parse_auth_header(authHeaderRaw) # First try to request an anonymous token - if not skipAnonToken: + if not skip_anon_token: logger.debug("No Authorization, requesting anonymous token") anon_token = self.request_anonymous_token(h) if anon_token: