mirror of
https://github.com/ceph/ceph
synced 2025-04-01 23:02:17 +00:00
cephadm: fix the indent
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
This commit is contained in:
parent
ed19416067
commit
38dc57ac9a
@ -77,17 +77,17 @@ def cephadm_fs(
|
|||||||
mock.patch('platform.processor', return_value='x86_64'), \
|
mock.patch('platform.processor', return_value='x86_64'), \
|
||||||
mock.patch('cephadm.extract_uid_gid', return_value=(uid, gid)):
|
mock.patch('cephadm.extract_uid_gid', return_value=(uid, gid)):
|
||||||
|
|
||||||
if not fake_filesystem.is_root():
|
if not fake_filesystem.is_root():
|
||||||
fake_filesystem.set_uid(0)
|
fake_filesystem.set_uid(0)
|
||||||
|
|
||||||
fs.create_dir(_cephadm.DATA_DIR)
|
fs.create_dir(_cephadm.DATA_DIR)
|
||||||
fs.create_dir(_cephadm.LOG_DIR)
|
fs.create_dir(_cephadm.LOG_DIR)
|
||||||
fs.create_dir(_cephadm.LOCK_DIR)
|
fs.create_dir(_cephadm.LOCK_DIR)
|
||||||
fs.create_dir(_cephadm.LOGROTATE_DIR)
|
fs.create_dir(_cephadm.LOGROTATE_DIR)
|
||||||
fs.create_dir(_cephadm.UNIT_DIR)
|
fs.create_dir(_cephadm.UNIT_DIR)
|
||||||
fs.create_dir('/sys/block')
|
fs.create_dir('/sys/block')
|
||||||
|
|
||||||
yield fs
|
yield fs
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture()
|
@pytest.fixture()
|
||||||
|
Loading…
Reference in New Issue
Block a user