Fix typos in amphora_flows.py & octavia.conf

trivial fix

Change-Id: I8417740f03e4003714a5bbd9cde7ba520c5e36c1
This commit is contained in:
zhangyanxian 2016-09-20 06:16:15 +00:00
parent 02df1f7cbc
commit 7feb462ea3
2 changed files with 3 additions and 3 deletions

View File

@ -148,7 +148,7 @@
# - - amp_boot_network_list = 22222222-3333-4444-5555-666666666666
# - Multiple networks
# - - amp_boot_network_list = 11111111-2222-33333-4444-555555555555, 22222222-3333-4444-5555-666666666666
# - All networks defined in the list will be attached to each ampohra
# - All networks defined in the list will be attached to each amphora
# amp_boot_network_list =
# Takes a single network id that is attached to amphorae on boot

View File

@ -207,7 +207,7 @@ class AmphoraFlows(object):
def _create_new_amp_for_lb_decider(self, history):
"""decides if a new amphora must be created for the lb
:return: True
:return: True if there is no spare amphora
"""
return list(history.values())[0] is None
@ -230,7 +230,7 @@ class AmphoraFlows(object):
requires=constants.LOADBALANCER_ID,
provides=constants.AMPHORA_ID)
# Define a subflow for if we successfuly map an amphora
# Define a subflow for if we successfully map an amphora
map_lb_to_amp = self._get_post_map_lb_subflow(prefix, role)
# Define a subflow for if we can't map an amphora
create_amp = self._get_create_amp_for_lb_subflow(prefix, role)