Skip to content

Commit

Permalink
[BlobStorage] Reuse the http client configured in the provided HttpPi…
Browse files Browse the repository at this point in the history
…peline during BlobBatch construction. (#17627)

* Reuse the http client configured in the provided HttpPipeline during BlobBatch construction.

* Include change log notes.
  • Loading branch information
fcofdez authored Nov 18, 2020
1 parent dca8bcb commit 50e007c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/storage/azure-storage-blob-batch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Release History

## 12.8.0-beta.1 (Unreleased)

- Reuse the Http client configured in the provided HttpPipeline during BlobBatch construction.

## 12.7.0 (2020-11-11)
- GA release
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ public final class BlobBatch {

batchPipelineBuilder.policies(this::buildBatchOperation);

batchPipelineBuilder.httpClient(pipeline.getHttpClient());

this.blobAsyncClient = new BlobClientBuilder()
.endpoint(accountUrl)
.blobName("")
Expand Down

0 comments on commit 50e007c

Please sign in to comment.