Skip to content
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

Add context to coreunix.Cat argument #1797

Merged
merged 1 commit into from
Oct 8, 2015
Merged

Add context to coreunix.Cat argument #1797

merged 1 commit into from
Oct 8, 2015

Conversation

rht
Copy link
Contributor

@rht rht commented Oct 4, 2015

In the tests, node.Context() are always derived from ctx used in this PR.
However, in core/commands, it is not the case for daemon context and req.Context().

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
@jbenet jbenet added the status/in-progress In progress label Oct 4, 2015
@whyrusleeping
Copy link
Member

LGTM! 👍 to better context wiring everywhere

p := path.FromString(pstr)
dagNode, err := n.Resolver.ResolvePath(n.Context(), p)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch!

jbenet added a commit that referenced this pull request Oct 8, 2015
Add context to coreunix.Cat argument
@jbenet jbenet merged commit b415e06 into ipfs:master Oct 8, 2015
@jbenet jbenet removed the status/in-progress In progress label Oct 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants