-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
Hey Hi...
Resolver.go throwing this following error in an updated Go.
/root/go-workspace/pkg/mod/github.com/koenrh/s3enum@v1.0.0/consumer.go:28
So for the fix i did the following changes to work for me.
func NewDNSResolver(nsAddr string) (*DNSResolver, error) {
config, err := getConfig(nsAddr)
//if err != nil {
//return nil, err
if err!=nil {
log.Println("action failed: ", err)
return
return &DNSResolver{
client: dns.Client{ReadTimeout: 2 * time.Second},
config: *config,
}, nil
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

