Corrections after first run

This commit is contained in:
2026-11-03 22:36:27 +01:00
parent 6f94674fc9
commit 02f7fd99bb
15 changed files with 268 additions and 46 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ func (c *Client) Exists(ctx context.Context, key string) bool {
func (c *Client) Copy(ctx context.Context, srcKey, dstKey string) error {
_, err := c.mc.CopyObject(ctx,
minio.CopyDestOptions{Bucket: c.Bucket, Object: dstKey},
minio.CopySourceOptions{Bucket: c.Bucket, Object: srcKey})
minio.CopySrcOptions{Bucket: c.Bucket, Object: srcKey})
return err
}