]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: refactor dir handle cleanup
authorJos Collin <jcollin@redhat.com>
Mon, 14 Oct 2019 04:51:35 +0000 (10:21 +0530)
committerRamana Raja <rraja@redhat.com>
Wed, 12 Feb 2020 10:11:59 +0000 (05:11 -0500)
commit2da46f644df929b9d5713414c067d1c2b963adc7
tree141d12e102670aac80ebc2dd2381ebbbc3bdca14
parente81eb4aa9b363f0021043245130d8bdff4c89052
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>
(cherry picked from commit 9e27cd1aac1169b2cf547cc4adb38c7ac8409dd1)
src/pybind/mgr/volumes/fs/subvolume.py