Commit 317a8ca3 by e0d

Merge pull request #1500 from edx/e0d/fix-reaper

bad refactor
parents 56a4ef6e a28c544c
......@@ -104,7 +104,7 @@ class LifecycleHandler:
def record_lifecycle_action_heartbeat(self, asg, token, hook):
command = self.get_base_cli_command + "autoscaling record-lifecycle-action-heartbeat " \
command = self.base_cli_command + "autoscaling record-lifecycle-action-heartbeat " \
"--lifecycle-hook-name {hook} " \
"--auto-scaling-group-name {asg} " \
"--lifecycle-action-token {token}".format(
......@@ -113,7 +113,7 @@ class LifecycleHandler:
self.run_subprocess_command(command, self.dry_run)
def continue_lifecycle(self, asg, token, hook):
command = self.get_base_cli_command + "autoscaling complete-lifecycle-action --lifecycle-hook-name {hook} " \
command = self.base_cli_command + "autoscaling complete-lifecycle-action --lifecycle-hook-name {hook} " \
"--auto-scaling-group-name {asg} --lifecycle-action-token {token} --lifecycle-action-result " \
"CONTINUE".format(
hook=hook, asg=asg, token=token)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment