Skip to content

Commit

Permalink
fix: lookup_ip func typo
Browse files Browse the repository at this point in the history
Change-Id: I9b8e32f27d280bdd8bd9d7eea9220bb75a5d9f9f
  • Loading branch information
fanlv committed Jun 14, 2024
1 parent 94547fe commit 246d0fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sophia/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ async fn get_env_args() -> Result<Args> {
async fn lookup_ip(domain: &str) -> Result<IpAddr> {
let resolver = TokioAsyncResolver::tokio(
ResolverConfig::default(),
ResolverOpts::default(), )
ResolverOpts::default())
.map_err(|e| errno_new!("failed to new resolver, err = {}", e))?;


Expand Down

0 comments on commit 246d0fa

Please sign in to comment.