]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: replace some calls to rm with fs function calls
authorJohn Mulligan <jmulligan@redhat.com>
Sat, 18 Nov 2023 18:07:57 +0000 (13:07 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 2 Jan 2024 14:30:21 +0000 (09:30 -0500)
commit50928d56dd83b60526124abc37de8d7adf9cfe94
tree3a5ccb08818e60908678fd077483c2f964affa27
parent2d8045d96f1a305b57a34ff96c130959821c393f
cephadm: replace some calls to rm with fs function calls

This should be a little cleaner, perhaps a tiny performance improvement,
and most importantly work better with the virtual-fs provided for the
unit tests and make this function more testable in the future.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/cephadm.py