Skip to content

Commit 533d005

Browse files
committed
TUN-5011: Use the region parameter in fallback SRV lookup
1 parent 98c3957 commit 533d005

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

edgediscovery/allregions/discovery.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func edgeDiscovery(log *zerolog.Logger, srvService string) ([][]*EdgeAddr, error
9191
return resolvedAddrPerCNAME, nil
9292
}
9393

94-
func lookupSRVWithDOT(string, string, string) (cname string, addrs []*net.SRV, err error) {
94+
func lookupSRVWithDOT(srvService string, srvProto string, srvName string) (cname string, addrs []*net.SRV, err error) {
9595
// Inspiration: https://github.com/artyom/dot/blob/master/dot.go
9696
r := &net.Resolver{
9797
PreferGo: true,

0 commit comments

Comments
 (0)