]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph_volume: modify util.prepare.check_id to handle stdout as a list
authorAndrew Schoen <aschoen@redhat.com>
Tue, 30 Jan 2018 17:32:53 +0000 (11:32 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Mon, 5 Feb 2018 15:14:20 +0000 (09:14 -0600)
commiteab0d1e6cd760e3ec854febae3988a8024d136d4
tree85f9679ad75baef881556c338a63da15b0c95038
parentd670b7b3fcb191b8e9f415f261b029689087d116
ceph_volume: modify util.prepare.check_id to handle stdout as a list

process.call returns stdout as a list, not a string

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit a08fc639613b3d9bcb3a09875e535287dd58870a)
src/ceph-volume/ceph_volume/tests/util/test_prepare.py
src/ceph-volume/ceph_volume/util/prepare.py