diff options
author | Tony Asleson <tasleson@redhat.com> | 2016-06-27 17:04:44 -0500 |
---|---|---|
committer | Tony Asleson <tasleson@redhat.com> | 2016-06-28 12:09:28 -0500 |
commit | 0aadd6b0fb4eaa9e59d6f750f2efe2fdfdacdd8f (patch) | |
tree | ddfd9056d00e37d8da492e7f9d8edb552205aaf1 | |
parent | 4b337b20d47953e130edc8a456e9431eba58a778 (diff) | |
download | lvm2-0aadd6b0fb4eaa9e59d6f750f2efe2fdfdacdd8f.tar.gz |
lvmdbusd: Correct command line args for JSON
Use the updated syntax.
-rw-r--r-- | daemons/lvmdbusd/cmdhandler.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/daemons/lvmdbusd/cmdhandler.py b/daemons/lvmdbusd/cmdhandler.py index 0440dbdf9..2ca23e7d8 100644 --- a/daemons/lvmdbusd/cmdhandler.py +++ b/daemons/lvmdbusd/cmdhandler.py @@ -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' ]) |