Update Godeps for github.com/skynetservices/skydns and github.com/miekg/dns
This commit is contained in:
6
vendor/github.com/miekg/dns/tlsa.go
generated
vendored
6
vendor/github.com/miekg/dns/tlsa.go
generated
vendored
@@ -78,9 +78,9 @@ func TLSAName(name, service, network string) (string, error) {
|
||||
if !IsFqdn(name) {
|
||||
return "", ErrFqdn
|
||||
}
|
||||
p, e := net.LookupPort(network, service)
|
||||
if e != nil {
|
||||
return "", e
|
||||
p, err := net.LookupPort(network, service)
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
return "_" + strconv.Itoa(p) + "._" + network + "." + name, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user