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

client/shell: Start instance if it's not running #631

Merged
merged 2 commits into from
Feb 28, 2019
Merged

Conversation

townsend2010
Copy link
Contributor

Fixes #621

Copy link
Contributor

@gerboland gerboland left a comment

Choose a reason for hiding this comment

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

Works ok, but I've concerns about the UI, noted inline

Also, no tests?

src/daemon/daemon.cpp Outdated Show resolved Hide resolved
@townsend2010
Copy link
Contributor Author

@gerboland,

Regarding tests, yeah, we need to do a bunch of work in these types of places to enable testing, ie, mocking many things, etc. It's something we really, really need to do, but this is not the place to do it.

@gerboland
Copy link
Contributor

Re: tests, ok

Also, use original message when instance is not running.

Based on review feedback
@townsend2010
Copy link
Contributor Author

@gerboland, this is ready for another review pass. Thanks!

Copy link
Contributor

@gerboland gerboland left a comment

Choose a reason for hiding this comment

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

Code looks ok, and basic testing it works fine.

Only niggle is if you do "shell" for a stopped VM, then hit Ctrl+C, then try "shell" again, it just hangs... Not for this PR tho.

bors r+

bors bot added a commit that referenced this pull request Feb 28, 2019
631: client/shell: Start instance if it's not running r=gerboland a=townsend2010

Fixes #621

Co-authored-by: Chris Townsend <[email protected]>
@bors
Copy link
Contributor

bors bot commented Feb 28, 2019

Build failed

@Saviq Saviq merged commit 08fc9b5 into master Feb 28, 2019
@bors bors bot deleted the shell-start-instance branch February 28, 2019 13:27
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