commit cd5360736d217cedb80fed6538749508b240b236
Author: David Ames <email address hidden>
Date: Wed May 15 10:58:18 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/659355 /git.openstack. org/cgit/ openstack/ charms. ceph/commit/ ?id=cd5360736d2 17cedb80fed6538 749508b240b236
Committed: https:/
Submitter: Zuul
Branch: master
commit cd5360736d217ce db80fed65387495 08b240b236
Author: David Ames <email address hidden>
Date: Wed May 15 10:58:18 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.
Change-Id: I75a6b1dda15dd7 c2cece8cfe97b28 317b3d5162b
Partial-Bug: #1819382