LBaaS: Fix a typo in add_to_list method

Change-Id: I8807a72ef951131247d0c5773ba52eb6451acee2
This commit is contained in:
Tong Liu 2017-08-04 16:50:14 +00:00
parent b6b45f0ac2
commit 03bb2a19d3
1 changed files with 1 additions and 1 deletions

View File

@ -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)