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

HAWQ-109. Fix exit code of hawq command line tools. #59

Closed
wants to merge 3 commits into from

Conversation

radarwave
Copy link
Contributor

If hawq command fails to perform a specific operation, we should ensure that the return code is non-zero.

Already ran sanity and management tools for this change.

local_ssh(cmd)
result = local_ssh(cmd)
if result != 0:
logger.error("Set hawq_master_address_host failed.")
Copy link
Contributor

Choose a reason for hiding this comment

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

extra space before "failed"

@liming01
Copy link
Contributor

Looks fine. +1.

@radarwave radarwave closed this Nov 2, 2015
@radarwave radarwave deleted the HAWQ-109 branch March 21, 2016 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants