Fix master merge conflicts from LVM branch (#2463)
This commit is contained in:
parent
db798eec71
commit
cd587792e1
|
|
@ -1429,8 +1429,7 @@ def _clean_field(name: str, clean_type: CleanType) -> str:
|
||||||
def _fetch_lsblk_info(
|
def _fetch_lsblk_info(
|
||||||
dev_path: Optional[Union[Path, str]] = None,
|
dev_path: Optional[Union[Path, str]] = None,
|
||||||
reverse: bool = False,
|
reverse: bool = False,
|
||||||
full_dev_path: bool = False,
|
full_dev_path: bool = False
|
||||||
retry: int = 3
|
|
||||||
) -> List[LsblkInfo]:
|
) -> List[LsblkInfo]:
|
||||||
fields = [_clean_field(f, CleanType.Lsblk) for f in LsblkInfo.fields()]
|
fields = [_clean_field(f, CleanType.Lsblk) for f in LsblkInfo.fields()]
|
||||||
cmd = ['lsblk', '--json', '--bytes', '--output', '+' + ','.join(fields)]
|
cmd = ['lsblk', '--json', '--bytes', '--output', '+' + ','.join(fields)]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue