commit 734fb80b08e3fba6249ce911baa068a8eda65a7a
Author: Alex Kavanagh <email address hidden>
Date: Wed Jun 15 13:10:31 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/329916 /git.openstack. org/cgit/ openstack/ charm-cinder/ commit/ ?id=734fb80b08e 3fba6249ce911ba a068a8eda65a7a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 734fb80b08e3fba 6249ce911baa068 a8eda65a7a
Author: Alex Kavanagh <email address hidden>
Date: Wed Jun 15 13:10:31 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: I3604ed3b36af91 afb95d43e0e5e24 483c9919fd1 Bug:#1588462
Related-