diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-11-02 23:39:16 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-11-02 23:39:16 -0700 |
| commit | 0c8dea9de8dffa2e2cc252cdab7112a3664b3a09 (patch) | |
| tree | 3c0cfd3cbe04c9a74059be5dc9725d00725afa0c /weed/filer/filechunks_read.go | |
| parent | 5160eb08f7665409221ebb0b9db6f4820e29bed3 (diff) | |
| download | seaweedfs-0c8dea9de8dffa2e2cc252cdab7112a3664b3a09.tar.xz seaweedfs-0c8dea9de8dffa2e2cc252cdab7112a3664b3a09.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 742f050be..33ee6d138 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) |
