From bc9fb79181abcca553b0f24d935c409086be51c5 Mon Sep 17 00:00:00 2001 From: Katia Date: Sat, 21 Sep 2024 21:36:14 +0900 Subject: [PATCH] refact: is_active into ServerInfo --- src/async_resolver/resolution.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/async_resolver/resolution.rs b/src/async_resolver/resolution.rs index 7656a8b8..aab42256 100644 --- a/src/async_resolver/resolution.rs +++ b/src/async_resolver/resolution.rs @@ -90,7 +90,7 @@ impl Resolution { for _ in 0..number_of_servers { println!("Server retrans"); let server_entry_clone = self.state_block.get_current_server_entry().clone(); - if !server_entry_clone.is_active() { continue; } + if !server_entry_clone.get_info().is_active() { continue; } //start timer let start = Instant::now();