소스 검색

Merge branch 'develop' into thomasn/adjust-container-allocation-logging

Thomas Nguyen 2 년 전
부모
커밋
8d0ea62e4d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      pkg/cloud/azure/streamreader.go

+ 1 - 1
pkg/cloud/azure/streamreader.go

@@ -133,7 +133,7 @@ func (r *StreamReader) nextBlock() error {
 		r.container,
 		r.container,
 		r.blobName,
 		r.blobName,
 		currentBuffer, // recycle the old current buffer as the next buffer
 		currentBuffer, // recycle the old current buffer as the next buffer
-		r.position+int64(r.block.Cap()),
+		r.position+int64(defaultBlockSize),
 		int64(defaultBlockSize),
 		int64(defaultBlockSize),
 		r.size,
 		r.size,
 	)
 	)