Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshuawuyts committed Jul 1, 2022
1 parent 6702759 commit 608648e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sdk/data_cosmos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ async fn main() -> azure_core::Result<()> {
let authorization_token = AuthorizationToken::primary_from_base64(&primary_key)?;

// Next we will create a Cosmos client.
let client = CosmosClient::new(account.clone(), authorization_token, CosmosOptions::default());
let client = CosmosClient::new(account.clone(), authorization_token);

// We know the database so we can obtain a database client.
let database = client.database_client(database_name);
Expand Down
2 changes: 1 addition & 1 deletion sdk/data_cosmos/src/clients/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! let database_name: String = todo!("Think of some database name");
//!
//! // Create an http client, then a `CosmosClient`, and then a `DatabaseClient`
//! let client = CosmosClient::new(account, authorization_token, CosmosOptions::default());
//! let client = CosmosClient::new(account, authorization_token);
//! let client = client.database_client(database_name);
//! ```
Expand Down
2 changes: 1 addition & 1 deletion sdk/data_cosmos/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async fn main() -> azure_core::Result<()> {
let authorization_token = AuthorizationToken::primary_from_base64(&primary_key)?;
// Next we will create a Cosmos client.
let client = CosmosClient::new(account, authorization_token, CosmosOptions::default());
let client = CosmosClient::new(account, authorization_token);
// We know the database so we can obtain a database client.
let database = client.database_client(database_name);
Expand Down

0 comments on commit 608648e

Please sign in to comment.