mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-22 07: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 *CmdGetPrecacheStatus) RpcMethod() string {
|
||||
return self.rpcMethod
|
||||
}
|
||||
|
||||
func (self *CmdGetPrecacheStatus) RpcParams(reset bool) interface{} {
|
||||
func (self *CmdGetPrecacheStatus) RpcParams(reset bool) any {
|
||||
if reset || self.rpcParams == nil {
|
||||
self.rpcParams = new(utils.AttrCacheIDsWithAPIOpts)
|
||||
}
|
||||
@@ -59,7 +59,7 @@ func (self *CmdGetPrecacheStatus) PostprocessRpcParams() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (self *CmdGetPrecacheStatus) RpcResult() interface{} {
|
||||
func (self *CmdGetPrecacheStatus) RpcResult() any {
|
||||
reply := make(map[string]string)
|
||||
return &reply
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user