mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-09-03 01:25:37 +00:00
zone
This commit is contained in:
@@ -109,10 +109,6 @@ impl DnsGlobalCtxExt for GlobalCtx {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn dns_iter_zones(&self) -> impl Iterator<Item = ZoneConfig> {
|
fn dns_iter_zones(&self) -> impl Iterator<Item = ZoneConfig> {
|
||||||
self.config
|
iter::once(self.dns_self_zone()).chain(self.config.get_dns().zones.into_iter())
|
||||||
.get_dns()
|
|
||||||
.zones
|
|
||||||
.into_iter()
|
|
||||||
.chain(iter::once(self.dns_self_zone()))
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user