mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
Remove unnecessary log printing (#14685)
Co-authored-by: Anis Elleuch <anis@min.io>
This commit is contained in:
parent
b9d1698d74
commit
d4251b2545
@ -385,9 +385,10 @@ func (sys *IAMSys) watch(ctx context.Context) {
|
|||||||
if ok {
|
if ok {
|
||||||
ch := watcher.watch(ctx, iamConfigPrefix)
|
ch := watcher.watch(ctx, iamConfigPrefix)
|
||||||
for event := range ch {
|
for event := range ch {
|
||||||
// we simply log errors
|
if err := sys.loadWatchedEvent(ctx, event); err != nil {
|
||||||
err := sys.loadWatchedEvent(ctx, event)
|
// we simply log errors
|
||||||
logger.LogIf(ctx, fmt.Errorf("Failure in loading watch event: %v", err))
|
logger.LogIf(ctx, fmt.Errorf("Failure in loading watch event: %v", err))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user