mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-19 22:28:45 +05:00
Move config/objdp.go to utils package
and rename the file to objectdp.go
This commit is contained in:
committed by
Dan Christian Bogos
parent
3254e0d35f
commit
deaf5f4918
@@ -24,7 +24,6 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/cgrates/cgrates/config"
|
||||
"github.com/cgrates/cgrates/utils"
|
||||
"github.com/miekg/dns"
|
||||
)
|
||||
@@ -54,8 +53,8 @@ func dnsWriteMsg(w dns.ResponseWriter, msg *dns.Msg) (err error) {
|
||||
|
||||
func newDnsDP(req *dns.Msg) utils.DataProvider {
|
||||
return &dnsDP{
|
||||
req: config.NewObjectDP(req),
|
||||
opts: config.NewObjectDP(req.IsEdns0()),
|
||||
req: utils.NewObjectDP(req),
|
||||
opts: utils.NewObjectDP(req.IsEdns0()),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user