mirror of
https://github.com/minio/minio.git
synced 2024-12-25 06:35:56 -05:00
fix: log notification errors only once (#11350)
This commit is contained in:
parent
2680772d4b
commit
c8489a8f0c
@ -467,7 +467,7 @@ func (sys *NotificationSys) updateBloomFilter(ctx context.Context, current uint6
|
||||
defer mu.Unlock()
|
||||
|
||||
if err != nil || !serverBF.Complete || bf == nil {
|
||||
logger.LogIf(ctx, err)
|
||||
logger.LogOnceIf(ctx, err, fmt.Sprintf("host:%s, cycle:%d", client.host, current), client.cycleServerBloomFilter)
|
||||
bf = nil
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user