fix: No default value for advertise routes #17

Merged
Dreaded_X merged 1 commits from fix/advertise_route_default into main 2026-04-13 01:38:37 +00:00
Showing only changes of commit c76b0e6ade - Show all commits
+7
View File
@@ -128,6 +128,13 @@ impl Node {
// Sadly we have to this manually // Sadly we have to this manually
// TODO: Find a better way of doing this // TODO: Find a better way of doing this
let default = OptionalNodeDeserialize { let default = OptionalNodeDeserialize {
network: Some(OptionalNetwork {
tailscale: Some(OptionalTailscale {
advertise_routes: Some(false),
..Default::default()
}),
..Default::default()
}),
patches: Some(OptionalPatches { patches: Some(OptionalPatches {
all: Some(vec![]), all: Some(vec![]),
control_plane: Some(vec![]), control_plane: Some(vec![]),