mirror of
https://github.com/ceph/ceph
synced 2024-12-18 17:37:38 +00:00
ceph-disk: cast output of _check_output()
Cast output of _check_output() to str() to be able to use str.split(). Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
9429ff90a0
commit
16ecae153d
@ -789,7 +789,7 @@ def prepare_journal_dev(
|
||||
'--name={name}'.format(name=os.path.basename(journal)),
|
||||
],
|
||||
)
|
||||
journal_symlink = '/dev/{symlink}-part{num}'.format(symlink=symlinks.split()[2], num=num)
|
||||
journal_symlink = '/dev/{symlink}-part{num}'.format(symlink=str(symlinks).split()[2], num=num)
|
||||
|
||||
journal_dmcrypt = None
|
||||
if journal_dm_keypath:
|
||||
|
Loading…
Reference in New Issue
Block a user