mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
Replace interface{} with any
This commit is contained in:
committed by
Dan Christian Bogos
parent
97c3dab0f4
commit
6c16ff320f
@@ -55,7 +55,7 @@ type ServiceManager struct {
|
||||
}
|
||||
|
||||
// Call .
|
||||
func (srvMngr *ServiceManager) Call(serviceMethod string, args interface{}, reply interface{}) error {
|
||||
func (srvMngr *ServiceManager) Call(serviceMethod string, args any, reply any) error {
|
||||
parts := strings.Split(serviceMethod, ".")
|
||||
if len(parts) != 2 {
|
||||
return rpcclient.ErrUnsupporteServiceMethod
|
||||
|
||||
Reference in New Issue
Block a user