Skip to content
This repository has been archived by the owner on Dec 22, 2020. It is now read-only.

Commit

Permalink
Merge pull request #19 from projectdiscovery/bugfix-go-mod
Browse files Browse the repository at this point in the history
updated dependencies
  • Loading branch information
Mzack9999 authored Apr 27, 2020
2 parents 968bfd0 + 0027663 commit a6a6191
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ go 1.14
require (
github.com/miekg/dns v1.1.29
github.com/projectdiscovery/gologger v1.0.0
github.com/projectdiscovery/retryabledns v1.0.3
github.com/projectdiscovery/retryabledns v1.0.4
github.com/remeh/sizedwaitgroup v1.0.0
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ github.com/miekg/dns v1.1.29/go.mod h1:KNUDUusw/aVsxyTYZM1oqvCicbwhgbNgztCETuNZ7
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/projectdiscovery/gologger v1.0.0 h1:XAQ8kHeVKXMjY4rLGh7eT5+oHU077BNEvs7X6n+vu1s=
github.com/projectdiscovery/gologger v1.0.0/go.mod h1:Ok+axMqK53bWNwDSU1nTNwITLYMXMdZtRc8/y1c7sWE=
github.com/projectdiscovery/retryabledns v1.0.3 h1:M54uIgT8xo1fuc3hG81enQFekrwABNQl3yqb978SfMA=
github.com/projectdiscovery/retryabledns v1.0.3/go.mod h1:/UzJn4I+cPdQl6pKiiQfvVAT636YZvJQYZhYhGB0dUQ=
github.com/projectdiscovery/retryabledns v1.0.4 h1:0Va7qHlWQsIXjRLISTjzfN3tnJmHYDudY05Nu3IJd60=
github.com/projectdiscovery/retryabledns v1.0.4/go.mod h1:/UzJn4I+cPdQl6pKiiQfvVAT636YZvJQYZhYhGB0dUQ=
github.com/remeh/sizedwaitgroup v1.0.0 h1:VNGGFwNo/R5+MJBf6yrsr110p0m4/OX4S3DCy7Kyl5E=
github.com/remeh/sizedwaitgroup v1.0.0/go.mod h1:3j2R4OIe/SeS6YDhICBy22RWjJC5eNCJ1V+9+NVNYlo=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
Expand Down
5 changes: 1 addition & 4 deletions lib/dnsprobe.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@ var DefaultResolvers = []string{

// New creates a dns resolver
func New(options Options) (*DnsProbe, error) {
dnsClient, err := retryabledns.New(options.BaseResolvers, options.MaxRetries)
if err != nil {
return nil, err
}
dnsClient := retryabledns.New(options.BaseResolvers, options.MaxRetries)

return &DnsProbe{dnsClient: dnsClient, questionType: options.QuestionType}, nil
}
Expand Down

0 comments on commit a6a6191

Please sign in to comment.