]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/volumes: fix volume search for pools 35857/head
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 30 Jun 2020 15:33:59 +0000 (08:33 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 9 Jul 2020 01:57:56 +0000 (18:57 -0700)
commitbe74a81e19ef3b5e8204d52e6a3f7f0c57d49854
tree5b94ef1c495ff14facfbeb19e4d72695d4635ad9
parentfaab304e9d16bd5458c3a2b36f59c286ab91f7f8
pybind/mgr/volumes: fix volume search for pools

Loop logic would bail out if it first sees any file system that does not
match the volume it's looking for.

Fixes: https://tracker.ceph.com/issues/46277
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/pybind/mgr/volumes/fs/operations/volume.py