commit ab75b539ab7623312f56a55599dcab2fc943233f
Author: Alex Kavanagh <email address hidden>
Date: Thu Jan 9 18:42:57 2020 +0000
Fix _goal_state_achieved_for_relid() with unsorted lists
Essentially, the functions returning the related units and expected
units (for goal state) might not be sorted, something the author of
the code (me) hadn't taken into account. This fixes that by comparing
sorted lists.
Reviewed: https:/ /review. opendev. org/701927 /git.openstack. org/cgit/ openstack/ charm-nova- cloud-controlle r/commit/ ?id=ab75b539ab7 623312f56a55599 dcab2fc943233f
Committed: https:/
Submitter: Zuul
Branch: stable/19.10
commit ab75b539ab76233 12f56a55599dcab 2fc943233f
Author: Alex Kavanagh <email address hidden>
Date: Thu Jan 9 18:42:57 2020 +0000
Fix _goal_state_ achieved_ for_relid( ) with unsorted lists
Essentially, the functions returning the related units and expected
units (for goal state) might not be sorted, something the author of
the code (me) hadn't taken into account. This fixes that by comparing
sorted lists.
Change-Id: Id6ca9fc756b0ef 18d00863fa4641a b1c244db939
Closes-bug: #1859050