From bb293f2459971e79774a89472e9de2fe75511342 Mon Sep 17 00:00:00 2001 From: David Calavera Date: Wed, 26 Aug 2020 09:15:31 -0700 Subject: [PATCH] Fix typos. Signed-off-by: David Calavera --- lib/netext/dialer.go | 4 ++-- lib/netext/dialer_test.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/netext/dialer.go b/lib/netext/dialer.go index 647d628b637..bec251fa7f7 100644 --- a/lib/netext/dialer.go +++ b/lib/netext/dialer.go @@ -173,10 +173,10 @@ func (d *Dialer) findRemote(addr string) (*lib.HostAddress, error) { return lib.NewHostAddress(ip, port) } - return d.fetchRemoteFromResover(host, port) + return d.fetchRemoteFromResolver(host, port) } -func (d *Dialer) fetchRemoteFromResover(host, port string) (*lib.HostAddress, error) { +func (d *Dialer) fetchRemoteFromResolver(host, port string) (*lib.HostAddress, error) { ip, err := d.Resolver.FetchOne(host) if err != nil { return nil, err diff --git a/lib/netext/dialer_test.go b/lib/netext/dialer_test.go index 3a36236c409..15a1d67c9c6 100644 --- a/lib/netext/dialer_test.go +++ b/lib/netext/dialer_test.go @@ -1,7 +1,7 @@ /* * * k6 - a next-generation load testing tool - * Copyright (C) 2016 Load Impact + * Copyright (C) 2020 Load Impact * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as