Skip to content

Commit 3a2d02c

Browse files
Fix linter issue
1 parent f0d4c96 commit 3a2d02c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resolver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func (r *resolver) debug(format string, a ...any) {
3737
}
3838

3939
func (r *resolver) LookupFirstService(ctx context.Context, protocol string, domain string) (string, int, error) {
40-
_, addrs, err := r.Resolver.LookupSRV(ctx, protocol, "tcp", domain)
40+
_, addrs, err := r.LookupSRV(ctx, protocol, "tcp", domain)
4141
if err != nil {
4242
if strings.EqualFold(protocol, "ldaps") {
4343
host, _, srvLDAPErr := r.LookupFirstService(ctx, "ldap", domain)

0 commit comments

Comments
 (0)