mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
fix: site replication of bucket deletion sync (#352)
Bucket deletion timestamp was not being passed back in GetBucketInfo, which is needed to decide on the bucket creation/deletion
This commit is contained in:
@@ -1308,6 +1308,7 @@ func (s *peerRESTServer) HeadBucketHandler(mss *grid.MSS) (info *VolInfo, nerr *
|
||||
return &VolInfo{
|
||||
Name: bucketInfo.Name,
|
||||
Created: bucketInfo.Created,
|
||||
Deleted: bucketInfo.Deleted, // needed for site replication
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user