Skip to content

Commit

Permalink
Amend comment in dns/provider.go (#3648)
Browse files Browse the repository at this point in the history
Signed-off-by: Namanl2001 <[email protected]>
  • Loading branch information
Namanl2001 authored Dec 20, 2020
1 parent 5454d5c commit e9260e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/discovery/dns/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func GetQTypeName(addr string) (qtype string, name string) {

// Resolve stores a list of provided addresses or their DNS records if requested.
// Addresses prefixed with `dns+` or `dnssrv+` will be resolved through respective DNS lookup (A/AAAA or SRV).
// defaultPort is used for non-SRV records when a port is not supplied.
// For non-SRV records, it will return an error if a port is not supplied.
func (p *Provider) Resolve(ctx context.Context, addrs []string) error {
resolvedAddrs := map[string][]string{}
errs := errutil.MultiError{}
Expand Down

0 comments on commit e9260e3

Please sign in to comment.