mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-08-31 08:19:14 +00:00
disallow some methods from itertools
This commit is contained in:
@@ -38,7 +38,6 @@ use crate::{
|
||||
};
|
||||
use crossbeam::atomic::AtomicCell;
|
||||
use hmac::{Hmac, Mac};
|
||||
use itertools::Itertools;
|
||||
use parking_lot::RwLock;
|
||||
use sha2::Sha256;
|
||||
use socket2::Protocol;
|
||||
@@ -710,7 +709,7 @@ impl DnsGlobalCtxExt for GlobalCtx {
|
||||
zones: self
|
||||
.dns_iter_zones()
|
||||
.filter(|z| z.policy.export.as_ref().is_some_and(|f| !f.disabled)) // TODO: check policies of parent zones
|
||||
.map_into()
|
||||
.map(Into::into)
|
||||
.collect(),
|
||||
fqdn: self.config.get_dns().get_fqdn().to_string(),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user