mirror of
https://github.com/minio/minio.git
synced 2026-11-25 23:23:49 +00:00
replication: fix target bucket passed on GET proxy (#16495)
This commit is contained in:
1 parent
ed20134a7b
commit
820d94447c
1 file changed
+1
-1
@@ -1918,7 +1918,7 @@ func proxyGetToReplicationTarget(ctx context.Context, bucket, object string, rs
|
||||
return nil, proxy, err
|
||||
}
|
||||
c := minio.Core{Client: tgt.Client}
|
||||
obj, _, h, err := c.GetObject(ctx, bucket, object, gopts)
|
||||
obj, _, h, err := c.GetObject(ctx, tgt.Bucket, object, gopts)
|
||||
if err != nil {
|
||||
return nil, proxy, err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user