mirror of
https://github.com/pgsty/minio.git
synced 2026-09-18 16:28:26 +03:00
fix(replication): diagnose unusable metadata without a heal source
Signed-off-by: Feng Ruohang <rh@vonng.com>
This commit is contained in:
@@ -5169,17 +5169,6 @@ func (c *SiteReplicationSys) healBucketReplicationConfig(ctx context.Context, ob
|
||||
return nil
|
||||
}
|
||||
|
||||
func isBucketMetadataEqual(one, two *string) bool {
|
||||
switch {
|
||||
case one == nil && two == nil:
|
||||
return true
|
||||
case one == nil || two == nil:
|
||||
return false
|
||||
default:
|
||||
return *one == *two
|
||||
}
|
||||
}
|
||||
|
||||
func (c *SiteReplicationSys) healIAMSystem(ctx context.Context, objAPI ObjectLayer) error {
|
||||
info, err := c.siteReplicationStatus(ctx, objAPI, madmin.SRStatusOptions{
|
||||
Users: true,
|
||||
|
||||
Reference in New Issue
Block a user