-
Notifications
You must be signed in to change notification settings - Fork 241
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
Added a script to drain and kill a marathon app as gracefully as possible #143
Conversation
|
||
if not marathon_tools.is_app_id_running(app_id=full_appid, client=client): | ||
print("Couldn't find an app named {0}".format(full_appid)) | ||
quit() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use sys.exit(1) here.
fine first pass, some tests would be good though. |
@@ -394,6 +395,15 @@ def get_healthcheck_mode(self, _): | |||
# Healthchecks are not supported yet in chronos | |||
return None | |||
|
|||
def get_desired_state_human(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this.. just a bad rebase/merge? This should be in master already.
b709db7
to
d3e67d3
Compare
double check the tests and ship |
Added a script to drain and kill a marathon app as gracefully as possible
Added a script to drain and kill a marathon app.