mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
replication: fix target bucket passed on GET proxy (#16495)
This commit is contained in:
parent
ed20134a7b
commit
820d94447c
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user