diff --git a/console/get_account.go b/console/get_account.go index a685da633..499f865df 100644 --- a/console/get_account.go +++ b/console/get_account.go @@ -38,7 +38,7 @@ type CmdGetAccount struct { name string rpcMethod string rpcParams *apier.AttrGetAccount - rpcResult *engine.CallCost + rpcResult engine.Account *CommandExecuter } diff --git a/console/get_cache_age.go b/console/get_cache_age.go index c29f815b0..d133cbb25 100644 --- a/console/get_cache_age.go +++ b/console/get_cache_age.go @@ -34,7 +34,7 @@ type CmdGetCacheAge struct { name string rpcMethod string rpcParams *StringWrapper - rpcResult *utils.CachedItemAge + rpcResult utils.CachedItemAge *CommandExecuter } diff --git a/console/get_cache_stats.go b/console/get_cache_stats.go index e2e5add83..6a939e99f 100644 --- a/console/get_cache_stats.go +++ b/console/get_cache_stats.go @@ -23,7 +23,7 @@ import "github.com/cgrates/cgrates/utils" func init() { c := &CmdGetCacheStats{ name: "get_cache_stats", - rpcMethod: "ApierV1.GetCachedStats", + rpcMethod: "ApierV1.GetCacheStats", } commands[c.Name()] = c c.CommandExecuter = &CommandExecuter{c}