Skip to content

Commit

Permalink
change credential scope checker method
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlm committed Nov 22, 2023
1 parent 5fc1b87 commit cdf3adc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion botocore/regions.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ def _resolve_credential_scope_builtin(
self, param_definitions, builtin_value, frozen_creds
):
"""Resolve the ``AWS::Auth::CredentialScope`` builtin."""
if not self._builtin_configured(param_definitions, 'CredentialScope'):
if not self._should_resolve_credential_scope(param_definitions):
return None

if builtin_value is not None:
Expand Down

0 comments on commit cdf3adc

Please sign in to comment.