Fix activation message.
The "Activated load balancer changes" message should be logged only on successful activation.
This commit is contained in:
@@ -89,8 +89,8 @@ def lbaas_task(worker, job):
|
|||||||
(e.__class__, e))
|
(e.__class__, e))
|
||||||
for lb_node in data['nodes']:
|
for lb_node in data['nodes']:
|
||||||
lb_node['condition'] = NODE_ERR
|
lb_node['condition'] = NODE_ERR
|
||||||
|
else:
|
||||||
logger.info("Activated load balancer changes")
|
logger.info("Activated load balancer changes")
|
||||||
|
|
||||||
# Return the same JSON object, but with condition fields set.
|
# Return the same JSON object, but with condition fields set.
|
||||||
return data
|
return data
|
||||||
|
|||||||
Reference in New Issue
Block a user