remove println

This commit is contained in:
Chris Lu
2019-07-02 21:33:23 -07:00
parent 4d579f7f57
commit 36250154cc

View File

@@ -117,7 +117,7 @@ func (store *LevelDB2Store) FindEntry(ctx context.Context, fullpath filer2.FullP
return entry, fmt.Errorf("decode %s : %v", entry.FullPath, err) return entry, fmt.Errorf("decode %s : %v", entry.FullPath, err)
} }
println("read", entry.FullPath, "chunks", len(entry.Chunks), "data", len(data), string(data)) // println("read", entry.FullPath, "chunks", len(entry.Chunks), "data", len(data), string(data))
return entry, nil return entry, nil
} }
@@ -160,7 +160,7 @@ func (store *LevelDB2Store) ListDirectoryEntries(ctx context.Context, fullpath f
FullPath: filer2.NewFullPath(string(fullpath), fileName), FullPath: filer2.NewFullPath(string(fullpath), fileName),
} }
println("list", entry.FullPath, "chunks", len(entry.Chunks)) // println("list", entry.FullPath, "chunks", len(entry.Chunks))
if decodeErr := entry.DecodeAttributesAndChunks(iter.Value()); decodeErr != nil { if decodeErr := entry.DecodeAttributesAndChunks(iter.Value()); decodeErr != nil {
err = decodeErr err = decodeErr