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

Non-zero exit code on status if dory isn't totally "up" #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ryanmt
Copy link

@ryanmt ryanmt commented Sep 25, 2017

Alias ps=>status for docker-like behavior hidden in here as well.

I welcome feedback on the error code pattern. I wanted to make it a
"means the number of services down" but figured it didn't actually
matter as long as it was easier to script against, for my purposes.

Alias ps=>status for docker-like behavior hidden in here as well.

I welcome feedback on the error code pattern.  I wanted to make it a
"means the number of services down" but figured it didn't actually
matter as long as it was easier to script against, for my purposes.
@ryanmt
Copy link
Author

ryanmt commented Sep 25, 2017

Ah, specs! I'll go poke at those and testing the exit codes, also track if there's some value in delaying the exit as well.

@FreedomBen
Copy link
Owner

Nice, thanks man! I like it.

I can take a look at the spec in more detail tomorrow. I just glanced at it and it seems like the spec may just need to be updated for the new exit status, tho I'm not 100% sure on that yet.

@FreedomBen
Copy link
Owner

Yo @ryanmt , you still want to merge this? I totally spaced it and randomly remembered. I looked at the test failure and it's not a big deal. I can refactor it to accommodate the new exit status. Sorry it took freaking forever. Is this still useful?

@tripox
Copy link
Collaborator

tripox commented Apr 20, 2021

I think this could be useful, @FreedomBen.

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