diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-10-16 16:09:30 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-10-16 16:09:30 -0700 |
| commit | 93624635b47bd6679ed3ac4035a4f64fe9beca29 (patch) | |
| tree | d3be7d95902d82319e2d929194c843748c8feb18 /weed/filer/filechunks_read.go | |
| parent | 6c704eb2bac5a6f47e6b6ae71654a2176ae8c3ef (diff) | |
| download | seaweedfs-93624635b47bd6679ed3ac4035a4f64fe9beca29.tar.xz seaweedfs-93624635b47bd6679ed3ac4035a4f64fe9beca29.zip | |
Revert "go fmt"
This reverts commit 6c704eb2bac5a6f47e6b6ae71654a2176ae8c3ef.
Diffstat (limited to 'weed/filer/filechunks_read.go')
| -rw-r--r-- | weed/filer/filechunks_read.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filer/filechunks_read.go b/weed/filer/filechunks_read.go index bc05d9821..b39f6a35c 100644 --- a/weed/filer/filechunks_read.go +++ b/weed/filer/filechunks_read.go @@ -40,7 +40,7 @@ func readResolvedChunks(chunks []*filer_pb.FileChunk) (visibles []VisibleInterva for _, point := range points { if point.isStart { if len(queue) > 0 { - lastIndex := len(queue) - 1 + lastIndex := len(queue) -1 lastPoint := queue[lastIndex] if point.x != prevX && lastPoint.ts < point.ts { visibles = addToVisibles(visibles, prevX, lastPoint, point) |
