Updated DiameterAgent DataProvider String method

This commit is contained in:
Trial97
2020-02-17 17:37:13 +02:00
committed by Dan Christian Bogos
parent fd03dae0b9
commit e1969ad1ef
2 changed files with 3 additions and 2 deletions

View File

@@ -1,2 +1,3 @@
- [FilterS] Removed rals_conns in favor of reading the account directly from DataDB
- [SessionS] Added check for missing CGRevent
- [SessionS] Added check for missing CGRevent
- [DiameterAgent] Using String function from diam.Message instead of ToJSON for request String method

View File

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