]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/volumes: fix volume search for pools
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 30 Jun 2020 15:33:59 +0000 (08:33 -0700)
committerKotresh HR <khiremat@redhat.com>
Tue, 28 Jul 2020 09:54:01 +0000 (15:24 +0530)
commit0879b8018bb85524a8af495596c48379629cecd3
tree26d9c14475408a2136cd437790a4c7ddd4bf2c11
parentce31d3b376a104d2d7c493685f42ce6b40691891
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>
(cherry picked from commit be74a81e19ef3b5e8204d52e6a3f7f0c57d49854)
src/pybind/mgr/volumes/fs/operations/volume.py