]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: make it possible to skip needs_root() 44319/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 7 Dec 2021 14:18:10 +0000 (15:18 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 15 Dec 2021 14:35:13 +0000 (15:35 +0100)
commitbf325a83e985906664f298f19d890e9bbd79ed87
tree4c6e28c7b390f6f9cf184473cf3970e5e0669c85
parentd36071b4931fb9d6810eb6147b3b7069549387b1
ceph-volume: make it possible to skip needs_root()

Add the possibility to skip the `needs_root()` decorator.
See linked tracker for details.

Fixes: https://tracker.ceph.com/issues/53511
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 068a1d2a300bc21e9aa08142c4195970ef480e41)
src/ceph-volume/ceph_volume/decorators.py
src/ceph-volume/ceph_volume/tests/test_decorators.py