Merge branch 'master' of github.com:jedisct1/dnscrypt-proxy
* 'master' of github.com:jedisct1/dnscrypt-proxy: Tiny typo in error message (#350)
This commit is contained in:
commit
0cca203bb0
|
@ -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)
|
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...)
|
proxy.urlsToPrefetch = append(proxy.urlsToPrefetch, sourceUrlsToPrefetch...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
dlog.Criticalf("Unable use source [%s]: [%s]", cfgSourceName, err)
|
dlog.Criticalf("Unable to use source [%s]: [%s]", cfgSourceName, err)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
registeredServers, err := source.Parse(cfgSource.Prefix)
|
registeredServers, err := source.Parse(cfgSource.Prefix)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
dlog.Criticalf("Unable use source [%s]: [%s]", cfgSourceName, err)
|
dlog.Criticalf("Unable to use source [%s]: [%s]", cfgSourceName, err)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
for _, registeredServer := range registeredServers {
|
for _, registeredServer := range registeredServers {
|
||||||
|
|
Loading…
Reference in New Issue