Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
hlts2 authored and kevindiu committed Feb 3, 2021
1 parent 585b885 commit ae9195c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/errors/net.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var (
// ErrFailedInitDialer represents an error that the initialization of the dialer failed.
ErrFailedInitDialer = New("failed to init dialer")

// ErrInvalidDNSConfig represents a function to generate an error that the configuration of DNS is invalid.
// ErrInvalidDNSConfig represents a function to generate an error that the configuration of the DNS is invalid.
ErrInvalidDNSConfig = func(dnsRefreshDur, dnsCacheExp time.Duration) error {
return Errorf("dnsRefreshDuration > dnsCacheExp, %s, %s", dnsRefreshDur, dnsCacheExp)
}
Expand Down

0 comments on commit ae9195c

Please sign in to comment.