ceph.in: pass verbose flag to json_command

Signed-off-by: luo.runbing <luo.runbing@zte.com.cn>
This commit is contained in:
luo.runbing 2019-08-05 14:36:30 +08:00
parent 6415160dbe
commit 0eef71bdbc
No known key found for this signature in database
GPG Key ID: DA3BFDCF8D77F675

View File

@ -573,7 +573,7 @@ def do_command(parsed_args, target, cmdargs, sigdict, inbuf, verbose):
next_header_print = Termsize().rows - 3
next_header_print -= 1
ret, outbuf, outs = json_command(cluster_handle, target=target,
argdict=valid_dict, inbuf=inbuf)
argdict=valid_dict, inbuf=inbuf, verbose=verbose)
if valid_dict.get('poll', False):
valid_dict['print_header'] = False
if not valid_dict.get('poll', False):