mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-04 03:16:12 +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 $result = [
|
||||
{ name => 'cmd-safety' },
|
||||
{ name => 'config' },
|
||||
{ name => 'configdb' },
|
||||
{ name => 'crush' },
|
||||
{ name => 'fs' },
|
||||
{ name => 'init' },
|
||||
{ name => 'log' },
|
||||
{ name => 'mds' },
|
||||
{ name => 'mgr' },
|
||||
{ name => 'mon' },
|
||||
{ name => 'osd' },
|
||||
{ name => 'pools' },
|
||||
{ name => 'fs' },
|
||||
{ name => 'mds' },
|
||||
{ name => 'stop' },
|
||||
{ name => 'start' },
|
||||
{ name => 'restart' },
|
||||
{ name => 'status' },
|
||||
{ name => 'crush' },
|
||||
{ name => 'config' },
|
||||
{ name => 'log' },
|
||||
{ name => 'rules' },
|
||||
{ name => 'start' },
|
||||
{ name => 'status' },
|
||||
{ name => 'stop' },
|
||||
];
|
||||
|
||||
return $result;
|
||||
|
Loading…
Reference in New Issue
Block a user