LBaaS: Fix a typo in add_to_list method
Change-Id: I8807a72ef951131247d0c5773ba52eb6451acee2
This commit is contained in:
parent
b6b45f0ac2
commit
03bb2a19d3
|
@ -78,7 +78,7 @@ class LoadBalancerBase(utils.NsxLibApiBase):
|
|||
if item_key in body:
|
||||
item_list = body[item_key]
|
||||
if item_id not in item_list:
|
||||
item_list.append(item_list)
|
||||
item_list.append(item_id)
|
||||
else:
|
||||
LOG.error('Item %s is already in resource %s',
|
||||
item_id, item_key)
|
||||
|
|
Loading…
Reference in New Issue