]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.in: pass verbose flag to json_command
authorluo.runbing <luo.runbing@zte.com.cn>
Mon, 5 Aug 2019 06:36:30 +0000 (14:36 +0800)
committerluo.runbing <luo.runbing@zte.com.cn>
Mon, 5 Aug 2019 06:36:30 +0000 (14:36 +0800)
Signed-off-by: luo.runbing <luo.runbing@zte.com.cn>
src/ceph.in

index 6086c432d6d16a8a32870caf70ab40245c36fc3e..fa6514418c0616ea4b654e0c99348befdcd62125 100755 (executable)
@@ -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):