~openstack-charmers-next/charms/trusty/rabbitmq-server/trunk

Viewing all changes in revision 148.

  • Committer: Alex Kavanagh
  • Date: 2016-06-17 13:53:47 UTC
  • Revision ID: alex@ajkavanagh.co.uk-20160617135347-uyga5lv9axpr9ei7
Fix for multiple status_set() in assess_status()

This fixes a multiple status_set() bug in the implementation of assess_status()
on the charm, when it is determining whether it is active AND clustered.
The change hooks into the _determine_os_workload_status() directly in
charmhelpers to ensure that status_set() is only called once when
assess_status() is called.

Change-Id: Idfd93126c3edb41f83897c82ee7f20fe5f366559
Related-Bug:#1588462

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: