mirror of
git://git.proxmox.com/git/pve-network.git
synced 2025-04-30 19:27:11 +02:00
tests: zone: code cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
1ed61845d4
commit
764dba5033
|
@ -91,10 +91,7 @@ foreach my $test (@tests) {
|
|||
my $name = $test;
|
||||
my $expected = read_file("./$test/expected_sdn_interfaces");
|
||||
|
||||
my $result = "";
|
||||
eval {
|
||||
$result = PVE::Network::SDN::Zones::generate_etc_network_config();
|
||||
};
|
||||
my $result = eval { PVE::Network::SDN::Zones::generate_etc_network_config() };
|
||||
|
||||
if (my $err = $@) {
|
||||
diag("got unexpected error - $err");
|
||||
|
|
Loading…
Reference in a new issue