mirror of
https://github.com/pgsty/minio.git
synced 2026-07-24 22:46:16 +03:00
trace: Add bucket/prefix to WalkDir() tracing (#12510)
Bonus, replace os.* API with os-instrumented.go
This commit is contained in:
+1
-1
@@ -393,7 +393,7 @@ func (s *xlStorage) Healing() *healingTracker {
|
||||
}
|
||||
|
||||
func (s *xlStorage) readMetadata(itemPath string) ([]byte, error) {
|
||||
f, err := os.OpenFile(itemPath, readMode, 0)
|
||||
f, err := OpenFile(itemPath, readMode, 0)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user