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

cmds/update: use new cmds lib #5730

Merged
merged 1 commit into from
Nov 9, 2018
Merged

Conversation

overbool
Copy link
Contributor

@overbool overbool commented Nov 3, 2018

Ref: #5664

License: MIT
Signed-off-by: Overbool [email protected]

@overbool overbool requested a review from Kubuxu as a code owner November 3, 2018 15:44
@Stebalien Stebalien mentioned this pull request Nov 3, 2018
73 tasks

// Get the node iff already defined.
if req.InvocContext().Online {
Copy link
Contributor

Choose a reason for hiding this comment

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

This check is important. We should onlu get the node if-and-only-if (iff) it is already defined.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kevina Should we add a helper function cmdenv.IsOnline()?

Copy link
Contributor

Choose a reason for hiding this comment

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

Is it used in more than one or two places? Is do I would define one. Otherwise I wouldn't bother.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kevina Could u help me review it again?

@overbool overbool force-pushed the refactor/cmds/update branch 4 times, most recently from 1c4844e to db08d26 Compare November 8, 2018 11:40
Copy link
Contributor

@kevina kevina left a comment

Choose a reason for hiding this comment

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

This LGTM but I would like @Stebalien to have a closer look before merging.

@ghost ghost assigned Stebalien Nov 9, 2018
@ghost ghost added the status/in-progress In progress label Nov 9, 2018
@Stebalien Stebalien force-pushed the refactor/cmds/update branch 2 times, most recently from d2b83ed to d51bcc6 Compare November 9, 2018 18:56
License: MIT
Signed-off-by: Overbool <[email protected]>
@Stebalien
Copy link
Member

So, I went ahead and managed to blow away that last change (review change) when rebasing (fetched the wrong remote and saw that everything was up-to-date). However, I believe I've restored the change.

@Stebalien Stebalien merged commit 085217e into ipfs:master Nov 9, 2018
@ghost ghost removed the status/in-progress In progress label Nov 9, 2018
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.

3 participants