chore(updater): rename presolver to parallelResolver

This commit is contained in:
Quentin McGaw
2022-06-11 20:12:35 +00:00
parent 33b8f5f596
commit 45c9e780c0
30 changed files with 108 additions and 108 deletions

View File

@@ -57,7 +57,7 @@ func (u *Updater) FetchServers(ctx context.Context, minServers int) (
hosts := hts.toHostsSlice()
resolveSettings := parallelResolverSettings(hosts)
hostToIPs, warnings, err := u.presolver.Resolve(ctx, resolveSettings)
hostToIPs, warnings, err := u.parallelResolver.Resolve(ctx, resolveSettings)
for _, warning := range warnings {
u.warner.Warn(warning)
}