Skip to content

Commit

Permalink
flip order
Browse files Browse the repository at this point in the history
  • Loading branch information
mgyucht committed Jul 18, 2024
1 parent 5f4e8f6 commit 8255722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion databricks/sdk/credentials_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ def token_source_for(resource: str) -> TokenSource:
endpoint_params={"resource": resource},
use_params=True)

cfg.load_azure_tenant_id()
_ensure_host_present(cfg, token_source_for)
cfg.load_azure_tenant_id()
logger.info("Configured AAD token for Service Principal (%s)", cfg.azure_client_id)
inner = token_source_for(cfg.effective_azure_login_app_id)
cloud = token_source_for(cfg.arm_environment.service_management_endpoint)
Expand Down

0 comments on commit 8255722

Please sign in to comment.