remove errant logs for disconnected remote (#19793)
Signed-off-by: Harshavardhana <harsha@minio.io>
This commit is contained in:
@@ -17,7 +17,9 @@ func replLogOnceIf(ctx context.Context, err error, id string, errKind ...interfa
|
||||
}
|
||||
|
||||
func iamLogIf(ctx context.Context, err error, errKind ...interface{}) {
|
||||
logger.LogIf(ctx, "iam", err, errKind...)
|
||||
if !errors.Is(err, grid.ErrDisconnected) {
|
||||
logger.LogIf(ctx, "iam", err, errKind...)
|
||||
}
|
||||
}
|
||||
|
||||
func iamLogEvent(ctx context.Context, msg string, args ...interface{}) {
|
||||
|
||||
Reference in New Issue
Block a user