From 0e55acbfdbb034559036c2cae4e6ee15cc113471 Mon Sep 17 00:00:00 2001 From: Radu Ioan Fericean Date: Sat, 19 Apr 2014 12:19:44 +0300 Subject: [PATCH] fixes --- console/get_account.go | 2 +- console/get_cache_age.go | 2 +- console/get_cache_stats.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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}