Skip to content

Commit

Permalink
Better
Browse files Browse the repository at this point in the history
  • Loading branch information
reshke committed Jun 7, 2024
1 parent 536eaa2 commit 4bd1e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/proc/interaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func ProcConn(s storage.StorageInteractor, cr crypt.Crypter, ycl client.YproxyCl
path := strings.TrimPrefix(objectMetas[i].Path, instanceCnf.StorageCnf.StoragePrefix)

//get reader
readerFromOldBucket := NewYRetryReader(NewRestartReader(oldStorage, path))
readerFromOldBucket := NewYRetryReader(NewRestartReader(oldStorage, path), 0)
var fromReader io.Reader
fromReader = readerFromOldBucket
defer readerFromOldBucket.Close()
Expand Down

0 comments on commit 4bd1e2c

Please sign in to comment.