From e1969ad1ef9006911fa763106c8799c3b80e1fdc Mon Sep 17 00:00:00 2001 From: Trial97 Date: Mon, 17 Feb 2020 17:37:13 +0200 Subject: [PATCH] Updated DiameterAgent DataProvider String method --- Changelog.tmp | 3 ++- agents/libdiam.go | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changelog.tmp b/Changelog.tmp index d0851216c..22dabc035 100644 --- a/Changelog.tmp +++ b/Changelog.tmp @@ -1,2 +1,3 @@ - [FilterS] Removed rals_conns in favor of reading the account directly from DataDB -- [SessionS] Added check for missing CGRevent \ No newline at end of file +- [SessionS] Added check for missing CGRevent +- [DiameterAgent] Using String function from diam.Message instead of ToJSON for request String method diff --git a/agents/libdiam.go b/agents/libdiam.go index 7c9157d59..582b7ef67 100644 --- a/agents/libdiam.go +++ b/agents/libdiam.go @@ -304,7 +304,7 @@ type diameterDP struct { // String is part of engine.DataProvider interface // when called, it will display the already parsed values out of cache func (dP *diameterDP) String() string { - return utils.ToJSON(dP.m) + return dP.m.String() } // AsNavigableMap is part of engine.DataProvider interface