Skip to content

Commit c891739

Browse files
committed
remove global error
Change-Id: Ib7f18566e38080726685794ccf2393af292aab87
1 parent 88ad02a commit c891739

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/net/lookup.go

-2
Original file line numberDiff line numberDiff line change
@@ -494,8 +494,6 @@ func LookupSRV(service, proto, name string) (cname string, addrs []*SRV, err err
494494
return DefaultResolver.LookupSRV(context.Background(), service, proto, name)
495495
}
496496

497-
var errSRVHeaderNameInvalid = errors.New("SRV header name is invalid")
498-
499497
// LookupSRV tries to resolve an SRV query of the given service,
500498
// protocol, and domain name. The proto is "tcp" or "udp".
501499
// The returned records are sorted by priority and randomized

0 commit comments

Comments
 (0)