Commit 29000371 authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

Merge pull request #1274 from ipfs/refactor/importer

change pinning to happen in a callback
parents d00305a4 df525816
...@@ -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