aboutsummaryrefslogtreecommitdiff
path: root/weed/storage
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-12-23 12:48:53 -0800
committerChris Lu <chris.lu@gmail.com>2019-12-23 12:48:53 -0800
commit8a2d52975994df381fdb4869dcce5e99a77cb2ed (patch)
tree96535d0e7bbc39279d38ef737af911cd95c169f7 /weed/storage
parent09ca936c78c1044412f47dc06caff1bf08273e60 (diff)
downloadseaweedfs-8a2d52975994df381fdb4869dcce5e99a77cb2ed.tar.xz
seaweedfs-8a2d52975994df381fdb4869dcce5e99a77cb2ed.zip
go fmt
Diffstat (limited to 'weed/storage')
-rw-r--r--weed/storage/needle_map_sorted_file.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/needle_map_sorted_file.go b/weed/storage/needle_map_sorted_file.go
index 6b3d9c449..83290796f 100644
--- a/weed/storage/needle_map_sorted_file.go
+++ b/weed/storage/needle_map_sorted_file.go
@@ -19,7 +19,7 @@ type SortedFileNeedleMap struct {
func NewSortedFileNeedleMap(baseFileName string, indexFile *os.File) (m *SortedFileNeedleMap, err error) {
m = &SortedFileNeedleMap{baseFileName: baseFileName}
m.indexFile = indexFile
- fileName := baseFileName+".sdb"
+ fileName := baseFileName + ".sdb"
if !isSortedFileFresh(fileName, indexFile) {
glog.V(0).Infof("Start to Generate %s from %s", fileName, indexFile.Name())
erasure_coding.WriteSortedFileFromIdx(baseFileName, ".sdb")