Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Kioubit committed Oct 22, 2024
1 parent 21e4334 commit 992a5b7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "registry_wizard"
version = "0.3.11"
version = "0.3.12"
edition = "2021"

[dependencies]
Expand Down
4 changes: 3 additions & 1 deletion src/modules/zone_files.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@ pub fn output_forward_zones(registry_root: &Path, auth_servers: Vec<String>) ->
output += "recursor:\n";
output += " forward_zones:\n";
for object in objects {
let hoist;
let current_auth_servers: &Vec<String> = if object.n_server_v4.is_empty() && object.n_server_v6.is_empty() {
&auth_servers
} else {
&object.n_server_v4.into_iter().chain(object.n_server_v6.into_iter().map(|s| "'".to_owned() + &*s + "'")).collect()
hoist = object.n_server_v4.into_iter().chain(object.n_server_v6.into_iter().map(|s| "'".to_owned() + &*s + "'")).collect();
&hoist
};
output += format!(" - zone: '{}'\n", object.tld).as_str();
output += " forwarders:\n";
Expand Down

0 comments on commit 992a5b7

Please sign in to comment.