Replace in agents utils.ToJSON with utils.ToIJSON

This commit is contained in:
TeoV
2018-12-16 05:56:09 -05:00
committed by Dan Christian Bogos
parent f36fd275ef
commit d0d09240da
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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