]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: make it possible to skip needs_root() 44239/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 7 Dec 2021 14:18:10 +0000 (15:18 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 7 Dec 2021 14:18:10 +0000 (15:18 +0100)
commit068a1d2a300bc21e9aa08142c4195970ef480e41
treeeb3bd6da5da234faaaef8b566b52bae0b6449b24
parent347d7d0f26dd83a52823dc60b5d7621d801b9232
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>
src/ceph-volume/ceph_volume/decorators.py
src/ceph-volume/ceph_volume/tests/test_decorators.py