mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-03-04 10:24:40 +01:00
Tiny typo in error message (#350)
Tiny typo, missing TO in "Unable to use source"
This commit is contained in:
parent
e2dd9c97a2
commit
cbc9152f19
1 changed files with 2 additions and 2 deletions
|
@ -467,12 +467,12 @@ func (config *Config) loadSource(proxy *Proxy, requiredProps ServerInformalPrope
|
|||
source, sourceUrlsToPrefetch, err := NewSource(proxy.xTransport, cfgSource.URLs, cfgSource.MinisignKeyStr, cfgSource.CacheFile, cfgSource.FormatStr, time.Duration(cfgSource.RefreshDelay)*time.Hour)
|
||||
proxy.urlsToPrefetch = append(proxy.urlsToPrefetch, sourceUrlsToPrefetch...)
|
||||
if err != nil {
|
||||
dlog.Criticalf("Unable use source [%s]: [%s]", cfgSourceName, err)
|
||||
dlog.Criticalf("Unable to use source [%s]: [%s]", cfgSourceName, err)
|
||||
return nil
|
||||
}
|
||||
registeredServers, err := source.Parse(cfgSource.Prefix)
|
||||
if err != nil {
|
||||
dlog.Criticalf("Unable use source [%s]: [%s]", cfgSourceName, err)
|
||||
dlog.Criticalf("Unable to use source [%s]: [%s]", cfgSourceName, err)
|
||||
return nil
|
||||
}
|
||||
for _, registeredServer := range registeredServers {
|
||||
|
|
Loading…
Add table
Reference in a new issue