Skip to content

Commit

Permalink
Merge "LBAAS config generation on controller"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Apr 5, 2016
2 parents 7aac764 + 1fa66c1 commit 22999f0
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -405,10 +405,10 @@ def set_haproxy_config(self, si_id, lb_uuid, conf):
if not si:
return

for kv in si.kvps:
for kv in si.kvps or []:
if kv['key'] == 'haproxy_config':
if kv['value'] == conf:
return
if kv['value'] == conf:
return

si_obj = ServiceInstance()
si_obj.uuid = si.uuid
Expand Down

0 comments on commit 22999f0

Please sign in to comment.