Upgrade minio sdk to v7

This changes are primarily straightforward modifications to pass the
parameters in the now expected way.
This commit is contained in:
Michael Eischer
2020-09-19 21:57:02 +02:00
parent 5fd3dbccb7
commit 307a6ba3a3
6 changed files with 60 additions and 54 deletions

View File

@@ -64,7 +64,7 @@ func (m *S3Layout) moveFiles(ctx context.Context, be *s3.Backend, l backend.Layo
debug.Log("move %v", h)
return retry(maxErrors, printErr, func() error {
return be.Rename(h, l)
return be.Rename(ctx, h, l)
})
})
}