charm-ceph-osd/lib/ceph
David Ames e6086328f4 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
2019-05-15 11:00:34 -07:00
..
__init__.py Sync charms.ceph to get code cleanup changes 2017-08-14 14:46:38 +01:00
broker.py udevadm settle before processing osd-devices 2019-03-05 07:59:46 +00:00
crush_utils.py Bring ceph-osd to Python 3 2017-11-17 12:13:54 +00:00
utils.py Validate output of list_logical_volumes 2019-05-15 11:00:34 -07:00