mirror of
https://github.com/minio/minio.git
synced 2025-11-20 09:56:07 -05:00
Add 'disk' tag to log output to enhance 'disk not found' errors (#6460)
This commit is contained in:
committed by
kannappanr
parent
14fa0097b0
commit
a63bc9254d
@@ -305,6 +305,7 @@ func readXLMeta(ctx context.Context, disk StorageAPI, bucket string, object stri
|
||||
xlMetaBuf, err := disk.ReadAll(bucket, path.Join(object, xlMetaJSONFile))
|
||||
if err != nil {
|
||||
if err != errFileNotFound {
|
||||
logger.GetReqInfo(ctx).AppendTags("disk", disk.String())
|
||||
logger.LogIf(ctx, err)
|
||||
}
|
||||
return xlMetaV1{}, err
|
||||
|
||||
Reference in New Issue
Block a user