Skip to content

Commit

Permalink
[4.6] cherry-pick #1363 CosmosClientOptions fix (#1367)
Browse files Browse the repository at this point in the history
* cherry-pick #1363 CosmosClientOptions fix

* Fixed passing of CosmosClientOptions

* added test for CosmosClientOptions
  • Loading branch information
stevengum authored Oct 26, 2019
1 parent 5d14feb commit 1057eed
Show file tree
Hide file tree
Showing 9 changed files with 1,085 additions and 1,004 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export class CosmosDbPartitionedStorage implements Storage {
this.client = new CosmosClient({
endpoint: this.cosmosDbStorageOptions.cosmosDbEndpoint,
key: this.cosmosDbStorageOptions.authKey,
...this.cosmosDbStorageOptions,
...this.cosmosDbStorageOptions.cosmosClientOptions,
});
}

Expand Down
Loading

0 comments on commit 1057eed

Please sign in to comment.