mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-21 15:18:44 +05:00
Replaced hardcoded strings with consts in RPC.Call methods
This commit is contained in:
committed by
Dan Christian Bogos
parent
413e47ff37
commit
d1787cb3fa
@@ -20,12 +20,13 @@ package console
|
||||
|
||||
import (
|
||||
"github.com/cgrates/cgrates/scheduler"
|
||||
"github.com/cgrates/cgrates/utils"
|
||||
)
|
||||
|
||||
func init() {
|
||||
c := &CmdGetScheduledActions{
|
||||
name: "scheduler_queue",
|
||||
rpcMethod: "ApierV1.GetScheduledActions",
|
||||
rpcMethod: utils.ApierV1GetScheduledActions,
|
||||
rpcParams: &scheduler.ArgsGetScheduledActions{},
|
||||
}
|
||||
commands[c.Name()] = c
|
||||
|
||||
Reference in New Issue
Block a user