Skip to content

Commit

Permalink
fix: mistyped receiver for dns/resolver/general.go
Browse files Browse the repository at this point in the history
  • Loading branch information
xvzc committed Aug 19, 2024
1 parent a244aa6 commit 59a6d7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dns/resolver/general.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ func (r *GeneralResolver) Resolve(ctx context.Context, host string, qTypes []uin
return addrs, err
}

func (c *GeneralResolver) String() string {
return fmt.Sprintf("general resolver(%s)", c.server)
func (r *GeneralResolver) String() string {
return fmt.Sprintf("general resolver(%s)", r.server)
}

func (r *GeneralResolver) exchange(ctx context.Context, msg *dns.Msg) (*dns.Msg, error) {
Expand Down

0 comments on commit 59a6d7b

Please sign in to comment.