1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00

lvmdbusd: Correct command line args for JSON

Use the updated syntax.
This commit is contained in:
Tony Asleson 2016-06-27 17:04:44 -05:00
parent 4b337b20d4
commit 0aadd6b0fb

View File

@ -467,11 +467,11 @@ def lvm_full_report_json():
cmd = _dc('fullreport', [
'-a', # Need hidden too
'-o', '/pv/' + ','.join(pv_columns),
'-o', '/vg/' + ','.join(vg_columns),
'-o', '/lv/' + ','.join(lv_columns),
'-o', '/seg/' + ','.join(lv_seg_columns),
'-o', '/pvseg/' + ','.join(pv_seg_columns),
'--configreport', 'pv', '-o', ','.join(pv_columns),
'--configreport', 'vg', '-o', ','.join(vg_columns),
'--configreport', 'lv', '-o', ','.join(lv_columns),
'--configreport', 'seg', '-o', ','.join(lv_seg_columns),
'--configreport', 'pvseg', '-o', ','.join(pv_seg_columns),
'--reportformat', 'json'
])