Comment 4 for bug 1819382

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph-osd (master)

Reviewed: https://review.opendev.org/659156
Committed: https://git.openstack.org/cgit/openstack/charm-ceph-osd/commit/?id=e6086328f4e672192377d78c08d652b1aebc0625
Submitter: Zuul
Branch: master

commit e6086328f4e672192377d78c08d652b1aebc0625
Author: David Ames <email address hidden>
Date: Tue May 14 13:24:38 2019 -0700

    Validate output of list_logical_volumes

    The charm was checking for the zeroth value of the return value of
    list_logical_volumes. However, if no logical volumes are found it
    returns an empty list.

    This change validates that the list has an entry.

    Depends-On: I75a6b1dda15dd7c2cece8cfe97b28317b3d5162b
    Change-Id: I2d371dae94dca328cf4782a79e85c1c6fd77f547
    Closes-Bug: #1819382