use CountToEnd to read entire blob
This commit is contained in:
parent
e35d63203a
commit
35b2e16c5c
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ func (az *azureBlobStore) Find(ctx context.Context, step int64) (io.ReadCloser,
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
blobURL := az.containerURL.NewBlockBlobURL(fmt.Sprintf("%d", step))
|
blobURL := az.containerURL.NewBlockBlobURL(fmt.Sprintf("%d", step))
|
||||||
out, err := blobURL.Download(ctx, 0, 100, azblob.BlobAccessConditions{}, false)
|
out, err := blobURL.Download(ctx, 0, azblob.CountToEnd, azblob.BlobAccessConditions{}, false)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue