From 943fa4ea0c053c7964c8148863122c6d98372516 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 22 Jul 2020 16:11:17 -0700 Subject: [PATCH] fix compilation error --- weed/storage/idx/walk.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weed/storage/idx/walk.go b/weed/storage/idx/walk.go index 95c53bf4a..44140d142 100644 --- a/weed/storage/idx/walk.go +++ b/weed/storage/idx/walk.go @@ -14,7 +14,7 @@ func WalkIndexFile(r io.ReaderAt, fn func(key types.NeedleId, offset types.Offse var readerOffset int64 bytes := make([]byte, types.NeedleMapEntrySize*RowsToRead) count, e := r.ReadAt(bytes, readerOffset) - glog.V(3).Infof("readerOffset %d count %d err: %v", readerOffset, count, "e", e) + glog.V(3).Infof("readerOffset %d count %d err: %v", readerOffset, count, e) readerOffset += int64(count) var ( key types.NeedleId @@ -34,7 +34,7 @@ func WalkIndexFile(r io.ReaderAt, fn func(key types.NeedleId, offset types.Offse return nil } count, e = r.ReadAt(bytes, readerOffset) - glog.V(3).Infof("readerOffset %d count %d err: %v", readerOffset, count, "e", e) + glog.V(3).Infof("readerOffset %d count %d err: %v", readerOffset, count, e) readerOffset += int64(count) } return e