mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
replication healing: Fix typo when healing bucket quota info (#14966)
A typo is found in the replication healing code where an empty quota configuration is sent to peer sites instead of the correct one. .io>
This commit is contained in:
parent
5be76856bd
commit
5041bfcb5c
@ -3560,7 +3560,6 @@ func (c *SiteReplicationSys) healBucketQuotaConfig(ctx context.Context, objAPI O
|
||||
latestID, latestPeerName string
|
||||
lastUpdate time.Time
|
||||
latestQuotaConfig *string
|
||||
latestCfgJSON []byte
|
||||
latestQuotaConfigBytes []byte
|
||||
)
|
||||
|
||||
@ -3614,7 +3613,7 @@ func (c *SiteReplicationSys) healBucketQuotaConfig(ctx context.Context, objAPI O
|
||||
if err = admClient.SRPeerReplicateBucketMeta(ctx, madmin.SRBucketMeta{
|
||||
Type: madmin.SRBucketMetaTypeQuotaConfig,
|
||||
Bucket: bucket,
|
||||
Quota: latestCfgJSON,
|
||||
Quota: latestQuotaConfigBytes,
|
||||
}); err != nil {
|
||||
logger.LogIf(ctx, c.annotatePeerErr(peerName, "SRPeerReplicateBucketMeta", fmt.Errorf("Error healing quota config metadata for peer %s from peer %s : %s",
|
||||
peerName, latestPeerName, err.Error())))
|
||||
|
Loading…
Reference in New Issue
Block a user