mirror of
https://github.com/minio/minio.git
synced 2025-01-25 21:53:16 -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
|
return nil, proxy, err
|
||||||
}
|
}
|
||||||
c := minio.Core{Client: tgt.Client}
|
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 {
|
if err != nil {
|
||||||
return nil, proxy, err
|
return nil, proxy, err
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user