mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-20 06:38:45 +05:00
Replace interface{} with any
This commit is contained in:
committed by
Dan Christian Bogos
parent
1d7bd1389b
commit
113e2a2bdf
@@ -48,7 +48,7 @@ func (self *CmdSessionsProcessEvent) RpcMethod() string {
|
||||
return self.rpcMethod
|
||||
}
|
||||
|
||||
func (self *CmdSessionsProcessEvent) RpcParams(reset bool) interface{} {
|
||||
func (self *CmdSessionsProcessEvent) RpcParams(reset bool) any {
|
||||
if reset || self.rpcParams == nil {
|
||||
self.rpcParams = new(utils.CGREvent)
|
||||
}
|
||||
@@ -59,12 +59,12 @@ func (self *CmdSessionsProcessEvent) PostprocessRpcParams() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (self *CmdSessionsProcessEvent) RpcResult() interface{} {
|
||||
func (self *CmdSessionsProcessEvent) RpcResult() any {
|
||||
var atr sessions.V1ProcessMessageReply
|
||||
return &atr
|
||||
}
|
||||
|
||||
func (self *CmdSessionsProcessEvent) GetFormatedResult(result interface{}) string {
|
||||
func (self *CmdSessionsProcessEvent) GetFormatedResult(result any) string {
|
||||
return GetFormatedResult(result, utils.StringSet{
|
||||
utils.Usage: {},
|
||||
utils.CapMaxUsage: {},
|
||||
|
||||
Reference in New Issue
Block a user