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.
Reviewed: https:/ /review. opendev. org/659156 /git.openstack. org/cgit/ openstack/ charm-ceph- osd/commit/ ?id=e6086328f4e 672192377d78c08 d652b1aebc0625
Committed: https:/
Submitter: Zuul
Branch: master
commit e6086328f4e6721 92377d78c08d652 b1aebc0625
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 logical_ volumes. However, if no logical volumes are found it
list_
returns an empty list.
This change validates that the list has an entry.
Depends-On: I75a6b1dda15dd7 c2cece8cfe97b28 317b3d5162b 28cf4782a79e85c 1c6fd77f547
Change-Id: I2d371dae94dca3
Closes-Bug: #1819382