Browse Source

remove println

pull/697/head
Chris Lu 7 years ago
parent
commit
056871242b
  1. 2
      weed/command/filer.go
  2. 1
      weed/server/filer_grpc_server.go
  3. 2
      weed/server/filer_server_handlers_read.go

2
weed/command/filer.go

@ -90,8 +90,6 @@ func (fo *FilerOptions) start() {
masters := *f.masters
println("*f.dirListingLimit", *f.dirListingLimit)
fs, nfs_err := weed_server.NewFilerServer(defaultMux, publicVolumeMux, &weed_server.FilerOption{
Masters: strings.Split(masters, ","),
Collection: *f.collection,

1
weed/server/filer_grpc_server.go

@ -35,7 +35,6 @@ func (fs *FilerServer) LookupDirectoryEntry(ctx context.Context, req *filer_pb.L
func (fs *FilerServer) ListEntries(ctx context.Context, req *filer_pb.ListEntriesRequest) (*filer_pb.ListEntriesResponse, error) {
println("directory:", req.Directory, "prefix", req.Prefix)
limit := int(req.Limit)
if limit == 0 {
limit = fs.option.DirListingLimit

2
weed/server/filer_server_handlers_read.go

@ -121,8 +121,6 @@ func (fs *FilerServer) handleMultipleChunks(w http.ResponseWriter, r *http.Reque
w.Header().Set("Content-Type", mimeType)
}
println("mime type:", mimeType)
totalSize := int64(filer2.TotalSize(entry.Chunks))
rangeReq := r.Header.Get("Range")

Loading…
Cancel
Save