mirror of
https://github.com/minio/minio.git
synced 2026-11-23 15:16:48 +00:00
xl: Add logging. (#1372)
This commit is contained in:
1 parent
57f35c2bcc
commit
8bce699dae
9 files changed
+315
-71
No files matched your search
@@ -645,7 +645,10 @@ func (s fsStorage) StatFile(volume, path string) (file FileInfo, err error) {
|
||||
|
||||
// If its a directory its not a regular file.
|
||||
if st.Mode().IsDir() {
|
||||
log.Debugf("File is %s", errIsNotRegular)
|
||||
log.WithFields(logrus.Fields{
|
||||
"diskPath": s.diskPath,
|
||||
"filePath": filePath,
|
||||
}).Debugf("File is %s.", errIsNotRegular)
|
||||
return FileInfo{}, errFileNotFound
|
||||
}
|
||||
return FileInfo{
|
||||
|
||||
Reference in new issue
Block a user