mirror of
https://github.com/minio/minio.git
synced 2025-04-26 04:52:25 -04:00
fix: siteReplicationSys.startResync return no buckets return if error (#18374)
This commit is contained in:
parent
f6e581ce54
commit
8a56af439c
@ -5234,6 +5234,7 @@ func (c *SiteReplicationSys) startResync(ctx context.Context, objAPI ObjectLayer
|
|||||||
Status: ResyncStarted.String(),
|
Status: ResyncStarted.String(),
|
||||||
OpType: "start",
|
OpType: "start",
|
||||||
ResyncID: rs.ResyncID,
|
ResyncID: rs.ResyncID,
|
||||||
|
Buckets: res.Buckets,
|
||||||
}
|
}
|
||||||
if len(res.Buckets) > 0 {
|
if len(res.Buckets) > 0 {
|
||||||
res.ErrDetail = "partial failure in starting site resync"
|
res.ErrDetail = "partial failure in starting site resync"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user