]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.in: remove '{osd,mds,mon} tell' deprecation warning
authorSage Weil <sage@redhat.com>
Sat, 8 Feb 2020 14:35:35 +0000 (08:35 -0600)
committerSage Weil <sage@redhat.com>
Sat, 8 Feb 2020 14:36:22 +0000 (08:36 -0600)
The last one of the was removed in luminous.

Signed-off-by: Sage Weil <sage@redhat.com>
src/ceph.in

index 0da8aa1e81eb732e5b3d8648365bed35c9f04e22..d359e257cd6c45cd18d4859c9be55e0e183fe5c9 100755 (executable)
@@ -993,15 +993,6 @@ def main():
     if injectargs and '--' in injectargs:
         injectargs.remove('--')
 
-    # special deprecation warning for 'ceph <type> 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}.<id> <command> [options...]" instead (id can be "*") '.format(childargs[0]),
-              file=sys.stderr)
-        return 1
-
     block = False
     waitdata = dict()
     if parsed_args.block: