Skip to content

Commit

Permalink
fix parameter for extra_networkd_sections test
Browse files Browse the repository at this point in the history
  • Loading branch information
sallchr committed Jul 25, 2024
1 parent 29891c6 commit 83b93c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/defines/interface_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@
destination_addresses: [facts[:networking]['ip'],],
addresses: [{ 'Address' => '192.0.2.1/24' }],
routes: [{ 'Gateway' => '192.0.2.2', 'GatewayOnLink' => true, 'Destination' => '192.0.3.0/24' }],
extra_networkd_sections: [{ 'RoutingPolicyRule' => [{ 'From' => '10.0.0.0/24', 'Table' => '1010', 'IncomingInterface' => 'as1234' }] }],
extra_networkd_sections: { 'RoutingPolicyRule' => [{ 'From' => '10.0.0.0/24', 'Table' => '1010', 'IncomingInterface' => 'as1234' }] },
}
end

Expand Down

0 comments on commit 83b93c2

Please sign in to comment.