Skip to content

Commit

Permalink
tenant can be null too
Browse files Browse the repository at this point in the history
  • Loading branch information
harjain99 committed Nov 6, 2024
1 parent 857df94 commit 1606232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/gyro/azure/AzureCredentials.java
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public <T> T createClient(Class<T> clientClass) {
}

public TokenCredential getTokenCredential(String tenant, String client, String key) {
if (client == null || key == null) {
if (tenant == null || client == null || key == null) {
return new AzureCliCredentialBuilder().build();
}

Expand Down

0 comments on commit 1606232

Please sign in to comment.