]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common: remove unused 'avail' field from commands
authorJohn Spray <john.spray@redhat.com>
Thu, 27 Sep 2018 14:37:36 +0000 (10:37 -0400)
committerJohn Spray <john.spray@redhat.com>
Fri, 2 Nov 2018 10:57:40 +0000 (06:57 -0400)
commit7734e9fa887293d8262d895d6277bd98ca9bc79e
tree667e77d67a47a15d8d67d15d93d14fd2b3581100
parentf82372fe2e8fcc6984367268a7c9c70aaa4e948a
common: remove unused 'avail' field from commands

This was introduced for the now-removed ceph-rest-api
gateway.  It enabled limiting certain commands
to be CLI-only or rest-only, but in practice almost
everything just said "cli,rest" here.

Now that ceph-rest-api is gone, let's remove this
field.

The CLI client code already tolerated the absence
of this field, so older CLI clients will not mind.

Signed-off-by: John Spray <john.spray@redhat.com>
13 files changed:
src/common/cmdparse.cc
src/common/cmdparse.h
src/mds/MDSDaemon.cc
src/mds/MDSDaemon.h
src/mgr/DaemonServer.cc
src/mgr/MgrCommands.h
src/mgr/PyModuleRegistry.cc
src/mgr/mgr_commands.cc
src/mon/MonCommand.h
src/mon/MonCommands.h
src/mon/Monitor.cc
src/osd/OSD.cc
src/test/common/get_command_descriptions.cc