]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: make it possible to skip needs_root() 44320/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:58 +0000 (15:35 +0100)
commit6b1b61e0d160621842736af15da6f9e8125359f8
tree828ec2010428633a9db40625ad0d28c2a13c1e0d
parentce3aefec24fd9e170ead8d89207f0236d915f6f0
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