diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-11-15 16:59:28 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-11-15 16:59:28 -0800 |
| commit | 0ea5c087ce8414e2fc6a0d470d316bac7fd1167b (patch) | |
| tree | 5c6f0e56759c80a3b446ab29b84d46660e49276f /weed/filesys/file.go | |
| parent | 95c0de285d907cbd826ba6ce97f7c4994c16ffd5 (diff) | |
| download | seaweedfs-0ea5c087ce8414e2fc6a0d470d316bac7fd1167b.tar.xz seaweedfs-0ea5c087ce8414e2fc6a0d470d316bac7fd1167b.zip | |
go fmt
Diffstat (limited to 'weed/filesys/file.go')
| -rw-r--r-- | weed/filesys/file.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filesys/file.go b/weed/filesys/file.go index 9e1342370..3bffa156e 100644 --- a/weed/filesys/file.go +++ b/weed/filesys/file.go @@ -294,7 +294,7 @@ func (file *File) addChunks(chunks []*filer_pb.FileChunk) { // find the earliest incoming chunk newChunks := chunks earliestChunk := newChunks[0] - for i:=1;i<len(newChunks);i++{ + for i := 1; i < len(newChunks); i++ { if lessThan(earliestChunk, newChunks[i]) { earliestChunk = newChunks[i] } |
