mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Update glide.lock with correct version of mongo for encoding time.Time
This commit is contained in:
committed by
Dan Christian Bogos
parent
0283412767
commit
f2436288f6
@@ -280,7 +280,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 dP.cache.String()
|
||||
return dP.m.String()
|
||||
}
|
||||
|
||||
// AsNavigableMap is part of engine.DataProvider interface
|
||||
|
||||
@@ -23,6 +23,7 @@ import (
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"net/http/httputil"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
@@ -60,7 +61,8 @@ type httpUrlDP struct {
|
||||
// String is part of engine.DataProvider interface
|
||||
// when called, it will display the already parsed values out of cache
|
||||
func (hU *httpUrlDP) String() string {
|
||||
return hU.cache.String()
|
||||
byts, _ := httputil.DumpRequest(hU.req, true)
|
||||
return string(byts)
|
||||
}
|
||||
|
||||
// FieldAsInterface is part of engine.DataProvider interface
|
||||
@@ -122,7 +124,7 @@ type httpXmlDP struct {
|
||||
// String is part of engine.DataProvider interface
|
||||
// when called, it will display the already parsed values out of cache
|
||||
func (hU *httpXmlDP) String() string {
|
||||
return hU.cache.String()
|
||||
return hU.xmlDoc.OutputXML(true)
|
||||
}
|
||||
|
||||
// FieldAsInterface is part of engine.DataProvider interface
|
||||
|
||||
@@ -150,7 +150,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 pk.cache.String()
|
||||
return utils.ToJSON(pk.req) // return ToJSON because Packet don't have a string method
|
||||
}
|
||||
|
||||
// FieldAsInterface is part of engine.DataProvider interface
|
||||
|
||||
2
glide.lock
generated
2
glide.lock
generated
@@ -97,7 +97,7 @@ imports:
|
||||
- name: github.com/fsnotify/fsnotify
|
||||
version: ccc981bf80385c528a65fbfdd49bf2d8da22aa23
|
||||
- name: github.com/cgrates/mgo
|
||||
version: 04b6cd516663d1f91d8f914e66ae743d3ab1685c
|
||||
version: 5d96853206543d8c9d681d96a5ad2369e68873dd
|
||||
subpackages:
|
||||
- bson
|
||||
- internal/json
|
||||
|
||||
Reference in New Issue
Block a user