Skip to content

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

Open
ryanmt wants to merge 1 commit into
FreedomBen:masterfrom
ryanmt:statusExitErrorCodes
Open

Non-zero exit code on status if dory isn't totally "up"#15
ryanmt wants to merge 1 commit into
FreedomBen:masterfrom
ryanmt:statusExitErrorCodes

Conversation

@ryanmt

@ryanmt ryanmt commented Sep 25, 2017

Copy link
Copy Markdown

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

ryanmt commented Sep 25, 2017

Copy link
Copy Markdown
Author

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
Copy Markdown
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
Copy Markdown
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

tripox commented Apr 20, 2021

Copy link
Copy Markdown
Collaborator

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