mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix compilation error on tip
This commit is contained in:
parent
9dfc97a8ea
commit
044de8e6a0
|
@ -42,7 +42,7 @@ func (s *SuperBlock) Bytes() []byte {
|
||||||
func (v *Volume) maybeWriteSuperBlock() error {
|
func (v *Volume) maybeWriteSuperBlock() error {
|
||||||
stat, e := v.dataFile.Stat()
|
stat, e := v.dataFile.Stat()
|
||||||
if e != nil {
|
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
|
return e
|
||||||
}
|
}
|
||||||
if stat.Size() == 0 {
|
if stat.Size() == 0 {
|
||||||
|
|
Loading…
Reference in a new issue