mirror of
https://github.com/miekg/dns.git
synced 2025-10-17 21:01:00 +02:00
Rename this variable
This commit is contained in:
parent
e78a7436aa
commit
fd12a9cea4
@ -24,8 +24,8 @@ type ClientConfig struct {
|
|||||||
|
|
||||||
// ClientConfigFromFile parses a resolv.conf(5) like file and returns
|
// ClientConfigFromFile parses a resolv.conf(5) like file and returns
|
||||||
// a *ClientConfig.
|
// a *ClientConfig.
|
||||||
func ClientConfigFromFile(conf string) (*ClientConfig, error) {
|
func ClientConfigFromFile(resolvconf string) (*ClientConfig, error) {
|
||||||
file, err := os.Open(conf)
|
file, err := os.Open(resolvconf)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user