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