diff options
| author | Chris Lu <chris.lu@gmail.com> | 2018-05-27 11:56:49 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2018-05-27 11:56:49 -0700 |
| commit | 8b0718ac92ff7f54db5e98ff175c7ac302a00df2 (patch) | |
| tree | 9ed8d0a020a9663e2f12edf95858f9cbd7c7eedb /weed/filer2/filechunks.go | |
| parent | 458ada173ed6df2933c35fe0d3e3dd9457d3a975 (diff) | |
| download | seaweedfs-8b0718ac92ff7f54db5e98ff175c7ac302a00df2.tar.xz seaweedfs-8b0718ac92ff7f54db5e98ff175c7ac302a00df2.zip | |
go vet
Diffstat (limited to 'weed/filer2/filechunks.go')
| -rw-r--r-- | weed/filer2/filechunks.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/weed/filer2/filechunks.go b/weed/filer2/filechunks.go index 86b1a85b5..bd4a57f0f 100644 --- a/weed/filer2/filechunks.go +++ b/weed/filer2/filechunks.go @@ -1,7 +1,6 @@ package filer2 import ( - "log" "math" "sort" @@ -82,13 +81,12 @@ func ReadFromChunks(chunks []*filer_pb.FileChunk, offset int64, size int) (views } func logPrintf(name string, visibles []*visibleInterval) { - - return - + /* log.Printf("%s len %d", name, len(visibles)) for _, v := range visibles { log.Printf("%s: => %+v", name, v) } + */ } func nonOverlappingVisibleIntervals(chunks []*filer_pb.FileChunk) (visibles []*visibleInterval) { |
