From 1cc81439e7612d8bd68cb7a120d1ce99566bfe65 Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Sat, 9 Nov 2024 09:28:11 +0100 Subject: [PATCH] nixosTests.frr: fix warning, use nodes.router instead of nodes.router.config --- nixos/tests/frr.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nixos/tests/frr.nix b/nixos/tests/frr.nix index 21a659abfc75..f4cd68c9d315 100644 --- a/nixos/tests/frr.nix +++ b/nixos/tests/frr.nix @@ -9,8 +9,7 @@ import ./make-test-python.nix ( { pkgs, ... }: let - ifAddr = - node: iface: (pkgs.lib.head node.config.networking.interfaces.${iface}.ipv4.addresses).address; + ifAddr = node: iface: (pkgs.lib.head node.networking.interfaces.${iface}.ipv4.addresses).address; ospfConf1 = '' router ospf @@ -106,7 +105,7 @@ import ./make-test-python.nix ( for gw in client, router1, router2, server: gw.wait_for_unit("frr") - router1.succeed("${nodes.router1.config.system.build.toplevel}/specialisation/ospf/bin/switch-to-configuration test >&2") + router1.succeed("${nodes.router1.system.build.toplevel}/specialisation/ospf/bin/switch-to-configuration test >&2") with subtest("Wait for OSPF to form adjacencies"): for gw in router1, router2: