Commit 8cf32753 authored by Yevgeniy Firsov's avatar Yevgeniy Firsov Committed by Pawel Rozlach
Browse files

fix(storage/s3): correct variable reference in multipart upload loop

parent acff9c95
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -418,7 +418,7 @@ func (d *driver) Writer(ctx context.Context, path string, appendParam bool) (sto
	listResp := &s3.ListPartsOutput{
		IsTruncated: ptr.Bool(true),
	}
	for resp.IsTruncated != nil && *listResp.IsTruncated {
	for listResp.IsTruncated != nil && *listResp.IsTruncated {
		// error out if we have pushed more than 100GB of parts
		if respLoopCount > maxListRespLoop {
			return nil, ErrMaxListRespExceeded