mirror of
https://github.com/minio/minio.git
synced 2025-11-09 21:49:46 -05:00
Fix unnecessary log messages to avoid flooding the logs (#5900)
This commit is contained in:
committed by
Harshavardhana
parent
9de8fefa90
commit
bb34bd91f1
@@ -832,7 +832,6 @@ func (xl xlObjects) DeleteObject(ctx context.Context, bucket, object string) (er
|
||||
|
||||
// Validate object exists.
|
||||
if !xl.isObject(bucket, object) {
|
||||
logger.LogIf(ctx, ObjectNotFound{bucket, object})
|
||||
return ObjectNotFound{bucket, object}
|
||||
} // else proceed to delete the object.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user