Enable trust-dns in CI.

This commit is contained in:
daxpedda
2020-02-28 15:47:19 +01:00
committed by Sean McArthur
parent 3aef11a9f9
commit d2fc485d11
2 changed files with 4 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ use crate::error::BoxError;
type SharedResolver = Arc<AsyncResolver<TokioConnection, TokioConnectionProvider>>;
lazy_static! {
static ref SYSTEM_CONF: io::Result<(ResolverConfig, ResolverOpts)> = system_conf::read_system_conf();
static ref SYSTEM_CONF: io::Result<(ResolverConfig, ResolverOpts)> = system_conf::read_system_conf().map_err(io::Error::from);
}
#[derive(Clone)]