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

Fixes #24891 - return non-zero exit code when services are down #216

Merged
merged 3 commits into from
Sep 19, 2018

Conversation

mbacovsky
Copy link
Member

No description provided.

@theforeman-bot
Copy link
Member

Issues: #24891

Copy link
Member

@kgaikwad kgaikwad left a comment

Choose a reason for hiding this comment

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

Thank you @mbacovsky,

Please check a inline comment related to typo correction.

status
end

def alowed_action?(action)
Copy link
Member

Choose a reason for hiding this comment

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

Correct the typo it should be allowed_action?

@mbacovsky mbacovsky changed the title Fixes #24891 - print non-zero exit code when services are down Fixes #24891 - return non-zero exit code when services are down Sep 19, 2018
@mbacovsky
Copy link
Member Author

@kgaikwad thanks for review, updated

Copy link
Member

@iNecas iNecas left a comment

Choose a reason for hiding this comment

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

Tested and works well. The info about --whitelist="service-status" is a bit strange, but I agree this should be tacked in separate PR. @ntkathole do you want to give this a try as well before merge?

Copy link
Contributor

@ntkathole ntkathole left a comment

Choose a reason for hiding this comment

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

Looks good! ACK

@iNecas iNecas merged commit 3fafadd into theforeman:master Sep 19, 2018
@iNecas
Copy link
Member

iNecas commented Sep 19, 2018

Thanks @mbacovsky

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants