Skip to content

Commit b73b95f

Browse files
committed
debug
1 parent 98d71ac commit b73b95f

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

.github/workflows/push.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
- name: Check formatting
2929
run: mvn --errors spotless:check
3030

31+
3132
unit-tests:
3233
strategy:
3334
fail-fast: false
@@ -53,6 +54,11 @@ jobs:
5354
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
5455
restore-keys: ${{ runner.os }}-m2
5556

57+
# - name: Debug Build
58+
# uses: stateful/vscode-server-action@v1
59+
# with:
60+
# timeout: 3000000
61+
5662
- name: Check Unit Tests
5763
run: mvn --errors test
5864

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,13 @@ public CliTokenSource tokenSourceFor(DatabricksConfig config, String resource) {
2222
List<String> cmd =
2323
new ArrayList<>(
2424
Arrays.asList(
25-
"az", "account", "get-access-token", "--resource", resource, "--output", "json"));
25+
"/../az",
26+
"account",
27+
"get-access-token",
28+
"--resource",
29+
resource,
30+
"--output",
31+
"json"));
2632
Optional<String> subscription = getSubscription(config);
2733
if (subscription.isPresent()) {
2834
// This will fail if the user has access to the workspace, but not to the subscription

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -374,17 +374,13 @@ public DatabricksConfig setAzureUseMsi(boolean azureUseMsi) {
374374
return this;
375375
}
376376

377-
/**
378-
* @deprecated Use {@link #getAzureUseMsi()} instead.
379-
*/
377+
/** @deprecated Use {@link #getAzureUseMsi()} instead. */
380378
@Deprecated()
381379
public boolean getAzureUseMSI() {
382380
return azureUseMsi;
383381
}
384382

385-
/**
386-
* @deprecated Use {@link #setAzureUseMsi(boolean)} instead.
387-
*/
383+
/** @deprecated Use {@link #setAzureUseMsi(boolean)} instead. */
388384
@Deprecated
389385
public DatabricksConfig setAzureUseMSI(boolean azureUseMsi) {
390386
this.azureUseMsi = azureUseMsi;

0 commit comments

Comments
 (0)