diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-10-16 16:06:18 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-10-16 16:06:18 -0700 |
| commit | 6c704eb2bac5a6f47e6b6ae71654a2176ae8c3ef (patch) | |
| tree | b5a12692d4d3e38a2046eaa8ed70b3bd708e18de /weed/filer/filechunks_read.go | |
| parent | de7688c53989d90799e349ac105d3c8d4a06e6a7 (diff) | |
| download | seaweedfs-6c704eb2bac5a6f47e6b6ae71654a2176ae8c3ef.tar.xz seaweedfs-6c704eb2bac5a6f47e6b6ae71654a2176ae8c3ef.zip | |
go fmt
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 b39f6a35c..bc05d9821 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) |
