aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/volume_super_block.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-06-11 23:39:42 -0700
committerChris Lu <chris.lu@gmail.com>2018-06-11 23:39:42 -0700
commiteaf000eff1af6542cfdf9421e013f453a9e12c53 (patch)
treeaac2afa5897b2cadd90b376d0038480fa397d29a /weed/storage/volume_super_block.go
parentd2a811eef2dba4c0b331562269019189aeefb7f1 (diff)
downloadseaweedfs-eaf000eff1af6542cfdf9421e013f453a9e12c53.tar.xz
seaweedfs-eaf000eff1af6542cfdf9421e013f453a9e12c53.zip
fix error on go tip
Diffstat (limited to 'weed/storage/volume_super_block.go')
-rw-r--r--weed/storage/volume_super_block.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/volume_super_block.go b/weed/storage/volume_super_block.go
index fc773273d..d6350ba0b 100644
--- a/weed/storage/volume_super_block.go
+++ b/weed/storage/volume_super_block.go
@@ -42,7 +42,7 @@ func (s *SuperBlock) Bytes() []byte {
func (v *Volume) maybeWriteSuperBlock() error {
stat, e := v.dataFile.Stat()
if e != nil {
- glog.V(0).Infof("failed to stat datafile %s: %v", v.dataFile, e)
+ glog.V(0).Infof("failed to stat datafile %s: %v", v.dataFile.Name(), e)
return e
}
if stat.Size() == 0 {