Skip to content

Commit a21367e

Browse files
committed
Fix GetWorkspaceClient to clone config for unified hosts
Port of Go SDK #1517. Previously getWorkspaceClient() mutated the AccountClient's own config when setting workspaceId for unified hosts, causing stale state on subsequent calls. Now clones the config instead. Co-authored-by: Isaac
1 parent c24277a commit a21367e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

databricks-sdk-java/src/main/java/com/databricks/sdk/AccountClient.java

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)