mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -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
@@ -28,6 +28,10 @@ import (
|
||||
|
||||
type badDisk struct{ StorageAPI }
|
||||
|
||||
func (a badDisk) String() string {
|
||||
return "bad-disk"
|
||||
}
|
||||
|
||||
func (a badDisk) AppendFile(volume string, path string, buf []byte) error {
|
||||
return errFaultyDisk
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user