diff options
author | Sage Weil <sage@inktank.com> | 2013-06-14 17:30:02 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-06-14 17:30:57 -0700 |
commit | 9253cd8174ca7690414923259b01c0a484323f19 (patch) | |
tree | a7393eaec102212a37bd7012af24687b0a261028 | |
parent | c35c98d16d6c0c50c03b37fd91f22ae59593dfca (diff) | |
download | ceph-9253cd8174ca7690414923259b01c0a484323f19.tar.gz |
ceph: pass --format=foo to old monitors
And --threshold too, although.. really.
Signed-off-by: Sage Weil <sage@inktank.com>
Reviwed-by: Dan Mick <dan.mick@inktank.com>
-rwxr-xr-x | src/ceph.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ceph.in b/src/ceph.in index 16155c9b311..69608021f9b 100755 --- a/src/ceph.in +++ b/src/ceph.in @@ -1577,6 +1577,10 @@ def main(): if verbose: print prefix, '{0} to old {1}'.format(' '.join(childargs), target[0]) compat = True + if parsed_args.output_format: + childargs.extend(['--format', parsed_args.output_format]) + if parsed_args.threshold: + childargs.extend(['--threshold', parsed_args.threshold]) ret, outbuf, outs = send_command(target, childargs, inbuf) # combine nonerror outbuf and outs; either may have cmd output if ret == 0: |