File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
main/java/com/databricks/sdk/core
test/java/com/databricks/sdk/core Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -838,8 +838,8 @@ HostMetadata getHostMetadata() throws IOException {
838838 * <p><b>Note:</b> This API is experimental and may change or be removed in future releases
839839 * without notice.
840840 *
841- * @throws DatabricksException if {@code accountId} cannot be resolved or {@code oidc_endpoint}
842- * is missing from the host metadata.
841+ * @throws DatabricksException if {@code accountId} cannot be resolved or {@code oidc_endpoint} is
842+ * missing from the host metadata.
843843 */
844844 void resolveHostMetadata () throws IOException {
845845 if (host == null ) {
Original file line number Diff line number Diff line change @@ -462,8 +462,7 @@ public void testGetHostMetadataAccountRawOidcTemplate() throws IOException {
462462 DatabricksConfig config = new DatabricksConfig ().setHost (server .getUrl ());
463463 config .resolve (emptyEnv ());
464464 HostMetadata meta = config .getHostMetadata ();
465- assertEquals (
466- "https://acc.databricks.com/oidc/accounts/{account_id}" , meta .getOidcEndpoint ());
465+ assertEquals ("https://acc.databricks.com/oidc/accounts/{account_id}" , meta .getOidcEndpoint ());
467466 assertNull (meta .getAccountId ());
468467 assertNull (meta .getWorkspaceId ());
469468 }
@@ -515,8 +514,7 @@ public void testResolveHostMetadataAccountSubstitutesAccountId() throws IOExcept
515514 config .resolve (emptyEnv ());
516515 config .resolveHostMetadata ();
517516 assertEquals (
518- "https://acc.databricks.com/oidc/accounts/" + DUMMY_ACCOUNT_ID ,
519- config .getDiscoveryUrl ());
517+ "https://acc.databricks.com/oidc/accounts/" + DUMMY_ACCOUNT_ID , config .getDiscoveryUrl ());
520518 }
521519 }
522520
You can’t perform that action at this time.
0 commit comments