3 Commits

Author SHA1 Message Date
David Ames
b570e36cba Fix for status-set race - 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().

Change-Id: Ie37a4d98de9c5e7bd26304e096796ce6287ea52b
Related-Bug:#1588462
2016-06-13 16:06:17 -07:00
James Page
d5806b4ce2 Resync charm-helpers
Change-Id: Id8eb4ea28f651f007d714d2bf406eb9796a5ab5d
2016-03-02 12:09:33 +00:00
uoscibot
2c3299d496 Adapt imports and metadata for github move 2016-02-29 10:48:52 +00:00