mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
Updated tests after remove
This commit is contained in:
committed by
Dan Christian Bogos
parent
21d4dd16fa
commit
1d67bca260
@@ -49,7 +49,7 @@ func GetCommands() map[string]Commander {
|
||||
|
||||
func getAvailabelCommandsErr() error {
|
||||
var keys []string
|
||||
for key, _ := range commands {
|
||||
for key := range commands {
|
||||
keys = append(keys, key)
|
||||
}
|
||||
return fmt.Errorf("\n\tAvailable commands <%s>\n", strings.Join(keys, "|"))
|
||||
|
||||
@@ -85,8 +85,6 @@ func (self *CmdApierPing) RpcMethod() string {
|
||||
return utils.RateSv1Ping
|
||||
case utils.AccountSLow:
|
||||
return utils.AccountSv1Ping
|
||||
case utils.ActionSLow:
|
||||
return utils.ActionSv1Ping
|
||||
default:
|
||||
}
|
||||
return self.rpcMethod
|
||||
|
||||
Reference in New Issue
Block a user