Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-ld-format
Commits
9b90054a
Unverified
Commit
9b90054a
authored
Feb 15, 2018
by
Steven Allen
Committed by
GitHub
Feb 15, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #31 from ipfs/fix/close-chan-test-dag
close the node channel in GetMany in the test dag
parents
23f9023c
e2c4d375
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
batch_test.go
batch_test.go
+1
-0
No files found.
batch_test.go
View file @
9b90054a
...
...
@@ -38,6 +38,7 @@ func (d *testDag) GetMany(ctx context.Context, cids []*cid.Cid) <-chan *NodeOpti
out
<-
&
NodeOption
{
Err
:
ErrNotFound
}
}
}
close
(
out
)
return
out
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment