]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-volume: when all devices are filtered exit gracefully
authorAndrew Schoen <aschoen@redhat.com>
Tue, 9 Oct 2018 18:05:54 +0000 (14:05 -0400)
committerAndrew Schoen <aschoen@redhat.com>
Wed, 10 Oct 2018 19:30:29 +0000 (15:30 -0400)
commitaa4fcd602f8b1a1b17bc12e59334b19508f97d6d
tree5c69fd90d6c9c6510714675c972dba49a8fe8033
parentfc9a10e54813a402ecd1d823ea5a33f85e8eb963
ceph-volume: when all devices are filtered exit gracefully

Even if all devices are filtered we want to return a 0 exit code and
make sure the json reporting still works.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
src/ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py
src/ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py