commit 61047ac055fa79d1d8142f51612088bac042155f
Author: Alex Kavanagh <email address hidden>
Date: Wed Jun 15 14:05:01 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/329959 /git.openstack. org/cgit/ openstack/ charm-keystone/ commit/ ?id=61047ac055f a79d1d8142f5161 2088bac042155f
Committed: https:/
Submitter: Jenkins
Branch: master
commit 61047ac055fa79d 1d8142f51612088 bac042155f
Author: Alex Kavanagh <email address hidden>
Date: Wed Jun 15 14:05:01 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: I928f60967e4a75 88df2b251365253 91c283cda14 Bug:#1588462
Related-