commit 0db6d59353ff34ca7c655214d17a2a790f77e377
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/701805 /git.openstack. org/cgit/ openstack/ charm-nova- cloud-controlle r/commit/ ?id=0db6d59353f f34ca7c655214d1 7a2a790f77e377
Committed: https:/
Submitter: Zuul
Branch: master
commit 0db6d59353ff34c a7c655214d17a2a 790f77e377
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: I5c7bfe39b80f10 3e95fd5105d2185 a89975ec23c
Closes-bug: #1859050