From: Sage Weil Date: Sat, 8 Feb 2020 14:35:35 +0000 (-0600) Subject: ceph.in: remove '{osd,mds,mon} tell' deprecation warning X-Git-Tag: v15.1.1~477^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3008b37e4b3e8ee35145be5a9ba848c3c90e7b51;p=ceph-ci.git ceph.in: remove '{osd,mds,mon} tell' deprecation warning The last one of the was removed in luminous. Signed-off-by: Sage Weil --- diff --git a/src/ceph.in b/src/ceph.in index 0da8aa1e81e..d359e257cd6 100755 --- a/src/ceph.in +++ b/src/ceph.in @@ -993,15 +993,6 @@ def main(): if injectargs and '--' in injectargs: injectargs.remove('--') - # special deprecation warning for 'ceph tell' - # someday 'mds' will be here too - if (len(childargs) >= 2 and - childargs[0] in ['mon', 'osd'] and - childargs[1] == 'tell'): - print('"{0} tell" is deprecated; try "tell {0}. [options...]" instead (id can be "*") '.format(childargs[0]), - file=sys.stderr) - return 1 - block = False waitdata = dict() if parsed_args.block: