commit 0322be6cc64f9d2c108095c77f5fd18df9c88fc0
Author: Alex Kavanagh <email address hidden>
Date: Thu Jun 16 10:55:05 2016 +0000
Fix for multiple status-set - related to bug 1588462
This change fixes the obvious race for a status_set() between
check_optional_interfaces() and assess_status() as the later calls the former
which calls status_set(), returns the status, which is then potentially set
again by the assess_status() function. This cleans up the code so that only a
single status_set() is performed when calling assess_status().
Reviewed: https:/ /review. openstack. org/330461 /git.openstack. org/cgit/ openstack/ charm-neutron- gateway/ commit/ ?id=0322be6cc64 f9d2c108095c77f 5fd18df9c88fc0
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0322be6cc64f9d2 c108095c77f5fd1 8df9c88fc0
Author: Alex Kavanagh <email address hidden>
Date: Thu Jun 16 10:55:05 2016 +0000
Fix for multiple status-set - related to bug 1588462
This change fixes the obvious race for a status_set() between optional_ interfaces( ) and assess_status() as the later calls the former
check_
which calls status_set(), returns the status, which is then potentially set
again by the assess_status() function. This cleans up the code so that only a
single status_set() is performed when calling assess_status().
Change-Id: I05e071d635819c 516ab76684842a2 5a9c2f81d83 Bug:#1588462
Related-