Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
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
ansible
Commits
2df4e807
Commit
2df4e807
authored
Dec 12, 2013
by
jctanner
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5273 from jsdalton/fix_minor_wait_bug
Make sure initial_state is initialized
parents
ae178b24
aa329b4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
library/cloud/ec2_elb
+1
-2
No files found.
library/cloud/ec2_elb
View file @
2df4e807
...
...
@@ -138,8 +138,7 @@ class ElbManager:
to report it out-of-service"""
for
lb
in
self
.
lbs
:
if
wait
:
initial_state
=
self
.
_get_instance_health
(
lb
)
initial_state
=
self
.
_get_instance_health
(
lb
)
if
wait
else
None
if
initial_state
and
initial_state
.
state
==
'InService'
:
lb
.
deregister_instances
([
self
.
instance_id
])
...
...
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