mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-21 23:28: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
@@ -18,12 +18,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||
|
||||
package console
|
||||
|
||||
import "github.com/cgrates/cgrates/engine"
|
||||
|
||||
import (
|
||||
"github.com/cgrates/cgrates/engine"
|
||||
"github.com/cgrates/cgrates/utils"
|
||||
)
|
||||
func init() {
|
||||
c := &CmdGetSharedGroup{
|
||||
name: "sharedgroup",
|
||||
rpcMethod: "ApierV1.GetSharedGroup",
|
||||
rpcMethod: utils.ApierV1GetSharedGroup,
|
||||
}
|
||||
commands[c.Name()] = c
|
||||
c.CommandExecuter = &CommandExecuter{c}
|
||||
|
||||
Reference in New Issue
Block a user