trace: Add bucket/prefix to WalkDir() tracing (#12510)

Bonus, replace os.* API with os-instrumented.go
This commit is contained in:
Anis Elleuch
2021-06-15 22:34:26 +01:00
committed by GitHub
parent da74e2f167
commit f30c996d48
3 changed files with 7 additions and 7 deletions

View File

@@ -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
}