Skip to content

Commit

Permalink
Style
Browse files Browse the repository at this point in the history
  • Loading branch information
Razz4780 committed Feb 7, 2025
1 parent 0c91ba7 commit 58c9ba7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mirrord/agent/src/steal/subscriptions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ impl IpTablesRedirector {
support_ipv6: bool,
) -> AgentResult<Self> {
let (pod_ips4, pod_ips6) = pod_ips
.iter()
.partition::<Vec<IpAddr>, _>(|ip| ip.is_ipv4());
.into_iter()
.partition::<Vec<IpAddr>, _>(IpAddr::is_ipv4);
tracing::debug!(?pod_ips4, ?pod_ips6, "Resolved pod IP addresses from env",);

tracing::debug!("Creating IPv4 iptables redirection listener");
Expand Down

0 comments on commit 58c9ba7

Please sign in to comment.