-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stable bits from Pull Request #2634 #2792
Stable bits from Pull Request #2634 #2792
Conversation
License: MIT Signed-off-by: Kevin Atkinson <k@kevina.org>
ef9c724
to
0a9015a
Compare
I think continuous-integration/travis-ci/pr was getting confused as I committed two commits shortly after one another and it was attempting to build with the wrong commit id. Commit dbabcf9 does not touch |
@whyrusleeping this is ready for you to have a look, and okay with me if it gets merged. |
@@ -54,7 +54,8 @@ func TestAddGCLive(t *testing.T) { | |||
|
|||
errs := make(chan error) | |||
out := make(chan interface{}) | |||
adder, err := NewAdder(context.Background(), node, out) | |||
adder, err := NewAdder(context.Background(), node.Pinning, node.Blockstore, node.DAG) | |||
adder.Out = out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just in case (even though its a test), i'd put the adder.Out = out
after the error check. If this call does error for some reason, its going to return a nil adder and we will panic on this line and lose information about what the real error was
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops. Your right fixed.
One nitpick then LGTM |
0a9015a
to
a70876e
Compare
This will make it easier to set up a specialized data pipeline. License: MIT Signed-off-by: Kevin Atkinson <k@kevina.org>
a70876e
to
9360f5c
Compare
@whyrusleeping,okay I fixed the nitpick and all tests are passing. |
sweet, LGTM |
@@ -20,47 +20,47 @@ type Block interface { | |||
} | |||
|
|||
// Block is a singular block of data in ipfs | |||
type RawBlock struct { | |||
type BasicBlock struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious why the name change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stable bits from Pull Request #2634.