mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Replace in agents utils.ToJSON with utils.ToIJSON
This commit is contained in:
committed by
Dan Christian Bogos
parent
f36fd275ef
commit
d0d09240da
@@ -75,7 +75,7 @@ type AgentRequest struct {
|
||||
|
||||
// String implements engine.DataProvider
|
||||
func (ar *AgentRequest) String() string {
|
||||
return utils.ToJSON(ar)
|
||||
return utils.ToIJSON(ar)
|
||||
}
|
||||
|
||||
// RemoteHost implements engine.DataProvider
|
||||
|
||||
@@ -151,7 +151,7 @@ type radiusDP struct {
|
||||
// String is part of engine.DataProvider interface
|
||||
// when called, it will display the already parsed values out of cache
|
||||
func (pk *radiusDP) String() string {
|
||||
return utils.ToJSON(pk.req) // return ToJSON because Packet don't have a string method
|
||||
return utils.ToIJSON(pk.req) // return ToJSON because Packet don't have a string method
|
||||
}
|
||||
|
||||
// FieldAsInterface is part of engine.DataProvider interface
|
||||
|
||||
Reference in New Issue
Block a user