Explorar o código

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

Thomas Nguyen %!s(int64=2) %!d(string=hai) anos
pai
achega
8d0ea62e4d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.blobName,
 		currentBuffer, // recycle the old current buffer as the next buffer
-		r.position+int64(r.block.Cap()),
+		r.position+int64(defaultBlockSize),
 		int64(defaultBlockSize),
 		r.size,
 	)