aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/volume.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-12-08 19:44:16 -0800
committerChris Lu <chris.lu@gmail.com>2019-12-08 19:44:16 -0800
commit10bd3c6b4b49ca94dacbd2e065544f1df259fe3c (patch)
tree8ee126a13124485d025b47366fad686c589a6058 /weed/storage/volume.go
parent2b8e20f1227648b977fd2a95feba5d6b55e4f5c1 (diff)
downloadseaweedfs-10bd3c6b4b49ca94dacbd2e065544f1df259fe3c.tar.xz
seaweedfs-10bd3c6b4b49ca94dacbd2e065544f1df259fe3c.zip
refactoring
Diffstat (limited to 'weed/storage/volume.go')
-rw-r--r--weed/storage/volume.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/volume.go b/weed/storage/volume.go
index 7edcacebd..6fe90593d 100644
--- a/weed/storage/volume.go
+++ b/weed/storage/volume.go
@@ -83,7 +83,7 @@ func (v *Volume) FileStat() (datSize uint64, idxSize uint64, modTime time.Time)
if e == nil {
return uint64(datFileSize), v.nm.IndexFileSize(), modTime
}
- glog.V(0).Infof("Failed to read file size %s %v", v.DataBackend.String(), e)
+ glog.V(0).Infof("Failed to read file size %s %v", v.DataBackend.Name(), e)
return // -1 causes integer overflow and the volume to become unwritable.
}