mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-08 10:32:50 +00:00
api: ceph: sort and update index sub-directory list
The 'cmd-safety', 'configdb' and 'mgr' items were missing, and while directly calling the API endpoints worked, the api-viewer and pvesh where partially broken here. Sort the whole list alphabetically will make it easier to track in the future Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com> [ T: note which items where missing and reword slightly ] Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
f18b7ddd36
commit
56b03211e6
@ -87,20 +87,23 @@ __PACKAGE__->register_method ({
|
|||||||
my ($param) = @_;
|
my ($param) = @_;
|
||||||
|
|
||||||
my $result = [
|
my $result = [
|
||||||
|
{ name => 'cmd-safety' },
|
||||||
|
{ name => 'config' },
|
||||||
|
{ name => 'configdb' },
|
||||||
|
{ name => 'crush' },
|
||||||
|
{ name => 'fs' },
|
||||||
{ name => 'init' },
|
{ name => 'init' },
|
||||||
|
{ name => 'log' },
|
||||||
|
{ name => 'mds' },
|
||||||
|
{ name => 'mgr' },
|
||||||
{ name => 'mon' },
|
{ name => 'mon' },
|
||||||
{ name => 'osd' },
|
{ name => 'osd' },
|
||||||
{ name => 'pools' },
|
{ name => 'pools' },
|
||||||
{ name => 'fs' },
|
|
||||||
{ name => 'mds' },
|
|
||||||
{ name => 'stop' },
|
|
||||||
{ name => 'start' },
|
|
||||||
{ name => 'restart' },
|
{ name => 'restart' },
|
||||||
{ name => 'status' },
|
|
||||||
{ name => 'crush' },
|
|
||||||
{ name => 'config' },
|
|
||||||
{ name => 'log' },
|
|
||||||
{ name => 'rules' },
|
{ name => 'rules' },
|
||||||
|
{ name => 'start' },
|
||||||
|
{ name => 'status' },
|
||||||
|
{ name => 'stop' },
|
||||||
];
|
];
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
|
Loading…
Reference in New Issue
Block a user