rename modes
This commit is contained in:
parent
b803a406e6
commit
ac63bf0172
|
@ -31,13 +31,13 @@ sub new {
|
||||||
|
|
||||||
$self->{version} = '0.1';
|
$self->{version} = '0.1';
|
||||||
%{$self->{modes}} = (
|
%{$self->{modes}} = (
|
||||||
'databasesstats' => 'apps::redis::restapi::mode::databasesstats',
|
'databases-stats' => 'apps::redis::restapi::mode::databasesstats',
|
||||||
'clusterstats' => 'apps::redis::restapi::mode::clusterstats',
|
'cluster-stats' => 'apps::redis::restapi::mode::clusterstats',
|
||||||
'listdatabases' => 'apps::redis::restapi::mode::listdatabases',
|
'list-databases' => 'apps::redis::restapi::mode::listdatabases',
|
||||||
'listnodes' => 'apps::redis::restapi::mode::listnodes',
|
'list-nodes' => 'apps::redis::restapi::mode::listnodes',
|
||||||
'listshards' => 'apps::redis::restapi::mode::listshards',
|
'list-shards' => 'apps::redis::restapi::mode::listshards',
|
||||||
'nodesstats' => 'apps::redis::restapi::mode::nodesstats',
|
'nodes-stats' => 'apps::redis::restapi::mode::nodesstats',
|
||||||
'shardsstats' => 'apps::redis::restapi::mode::shardsstats',
|
'shards-stats' => 'apps::redis::restapi::mode::shardsstats',
|
||||||
);
|
);
|
||||||
$self->{custom_modes}{api} = 'apps::redis::restapi::custom::api';
|
$self->{custom_modes}{api} = 'apps::redis::restapi::custom::api';
|
||||||
return $self;
|
return $self;
|
||||||
|
|
Loading…
Reference in New Issue