api ceph: fix directory endpoint index

actually drop the deprecated ones from the API routes index and
ensure the replacement /pool is returned (/cfg already was)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-06-21 09:30:09 +02:00
parent 8bbd6a1cbd
commit f507ec30bb

View File

@ -95,8 +95,6 @@ __PACKAGE__->register_method ({
my $result = [
{ name => 'cmd-safety' },
{ name => 'cfg' },
{ name => 'config' },
{ name => 'configdb' },
{ name => 'crush' },
{ name => 'fs' },
{ name => 'init' },
@ -105,7 +103,7 @@ __PACKAGE__->register_method ({
{ name => 'mgr' },
{ name => 'mon' },
{ name => 'osd' },
{ name => 'pools' },
{ name => 'pool' },
{ name => 'restart' },
{ name => 'rules' },
{ name => 'start' },