Skip to content

Commit 0426acf

Browse files
committed
unit test fix
Signed-off-by: Sreekanth Vadigi <[email protected]>
1 parent 5a1fd5b commit 0426acf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

databricks-sdk-java/src/main/java/com/databricks/sdk/core/DatabricksConfig.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -766,8 +766,6 @@ public String getEffectiveOAuthRedirectUrl() {
766766
return redirectUrl != null ? redirectUrl : "http://localhost:8080/callback";
767767
}
768768

769-
private static final String AZURE_AUTH_ENDPOINT = "/aad/auth";
770-
771769
/**
772770
* [Internal] Load the Azure tenant ID from the Azure Databricks login page. If the tenant ID is
773771
* already set, this method does nothing.
@@ -778,7 +776,8 @@ public void loadAzureTenantId() {
778776
return;
779777
}
780778

781-
String loginUrl = host + AZURE_AUTH_ENDPOINT;
779+
final String azureAuthEndpoint = "/aad/auth";
780+
String loginUrl = host + azureAuthEndpoint;
782781
logger.debug("Loading tenant ID from {}", loginUrl);
783782

784783
try {

0 commit comments

Comments
 (0)