Comment 6 for bug 1859050

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-cloud-controller (master)

Reviewed: https://review.opendev.org/701805
Committed: https://git.openstack.org/cgit/openstack/charm-nova-cloud-controller/commit/?id=0db6d59353ff34ca7c655214d17a2a790f77e377
Submitter: Zuul
Branch: master

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.

    Change-Id: I5c7bfe39b80f103e95fd5105d2185a89975ec23c
    Closes-bug: #1859050