]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: refactor dir handle cleanup 30887/head
authorJos Collin <jcollin@redhat.com>
Mon, 14 Oct 2019 04:51:35 +0000 (10:21 +0530)
committerJos Collin <jcollin@redhat.com>
Tue, 22 Oct 2019 04:25:25 +0000 (09:55 +0530)
commit9e27cd1aac1169b2cf547cc4adb38c7ac8409dd1
treed5daa36a2fdd1bad95b76d032428c4bbb1fc071f
parente748f5b0f38a0df118dab7eda0e0bde6c64fcd65
mgr/volumes: refactor dir handle cleanup

introduce with statement in rmtree. This change
simplifies the code's handling of directory cleanup.

Signed-off-by: Jos Collin <jcollin@redhat.com>
src/pybind/mgr/volumes/fs/subvolume.py