Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
317a8ca3
Commit
317a8ca3
authored
Aug 28, 2014
by
e0d
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1500 from edx/e0d/fix-reaper
bad refactor
parents
56a4ef6e
a28c544c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
util/vpc-tools/asg_lifcycle_watcher.py
+2
-2
No files found.
util/vpc-tools/asg_lifcycle_watcher.py
View file @
317a8ca3
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment