diff --git a/cmd/bucket-replication.go b/cmd/bucket-replication.go index 82e107c95..139236b52 100644 --- a/cmd/bucket-replication.go +++ b/cmd/bucket-replication.go @@ -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 }