mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-25 17:18:44 +05:00
Replace interface{} with any
This commit is contained in:
committed by
Dan Christian Bogos
parent
1d7bd1389b
commit
113e2a2bdf
@@ -45,9 +45,9 @@ func (self *CmdRemoveAttributeProfile) RpcMethod() string {
|
||||
return self.rpcMethod
|
||||
}
|
||||
|
||||
func (self *CmdRemoveAttributeProfile) RpcParams(reset bool) interface{} {
|
||||
func (self *CmdRemoveAttributeProfile) RpcParams(reset bool) any {
|
||||
if reset || self.rpcParams == nil {
|
||||
self.rpcParams = &utils.TenantIDWithAPIOpts{APIOpts: make(map[string]interface{})}
|
||||
self.rpcParams = &utils.TenantIDWithAPIOpts{APIOpts: make(map[string]any)}
|
||||
}
|
||||
return self.rpcParams
|
||||
}
|
||||
@@ -56,7 +56,7 @@ func (self *CmdRemoveAttributeProfile) PostprocessRpcParams() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (self *CmdRemoveAttributeProfile) RpcResult() interface{} {
|
||||
func (self *CmdRemoveAttributeProfile) RpcResult() any {
|
||||
var s string
|
||||
return &s
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user