Commit df525816 authored by Jeromy's avatar Jeromy

change pinning to happen in a callback

parent 93ab652f
...@@ -156,7 +156,7 @@ func runBatchFetchTest(t *testing.T, read io.Reader) { ...@@ -156,7 +156,7 @@ func runBatchFetchTest(t *testing.T, read io.Reader) {
spl := &chunk.SizeSplitter{512} spl := &chunk.SizeSplitter{512}
root, err := imp.BuildDagFromReader(read, dagservs[0], nil, spl) root, err := imp.BuildDagFromReader(read, dagservs[0], spl, nil)
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment