Typo
This commit is contained in:
parent
162712871e
commit
30141916b4
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ def find_core_storage_volumes(device_path=None):
|
||||||
cmd = [
|
cmd = [
|
||||||
'lsblk', '--json', '--list', '--paths',
|
'lsblk', '--json', '--list', '--paths',
|
||||||
'--output', 'NAME,PARTTYPE']
|
'--output', 'NAME,PARTTYPE']
|
||||||
if device:
|
if device_path:
|
||||||
cmd.append(device_path)
|
cmd.append(device_path)
|
||||||
result = run_program(cmd)
|
result = run_program(cmd)
|
||||||
json_data = json.loads(result.stdout.decode())
|
json_data = json.loads(result.stdout.decode())
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue