We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 457680c + ac108b7 commit 046bbc2Copy full SHA for 046bbc2
azblob/zt_examples_test.go
@@ -941,7 +941,7 @@ func Example_progressUploadDownload() {
941
// Wrap the request body in a RequestBodyProgress and pass a callback function for progress reporting.
942
_, err = blobURL.Upload(ctx,
943
pipeline.NewRequestBodyProgress(requestBody, func(bytesTransferred int64) {
944
- fmt.Printf("Wrote %d of %d bytes.", bytesTransferred, requestBody.Len())
+ fmt.Printf("Wrote %d of %d bytes.", bytesTransferred, requestBody.Size())
945
}),
946
azblob.BlobHTTPHeaders{
947
ContentType: "text/html; charset=utf-8",
0 commit comments