Skip to content

Commit

Permalink
Update rust/src/data_catalog/unity/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: nohajc <nohajc@gmail.com>
  • Loading branch information
roeap and nohajc authored May 13, 2023
1 parent 56eb129 commit 7003fcd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion rust/src/data_catalog/unity/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,13 @@ impl UnityCatalogBuilder {
)),
));
}

+ if self.use_azure_cli {
+ return Some(CredentialProvider::TokenCredential(
+ Default::default(),
+ Box::new(AzureCliCredential::new()),
+ ));
+ }
+
None
}

Expand Down

0 comments on commit 7003fcd

Please sign in to comment.