* [PATCH pve-network 1/1] api: route maps: make value property optional for exit-action
@ 2026-05-13 11:48 Stefan Hanreich
2026-05-15 5:02 ` applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Hanreich @ 2026-05-13 11:48 UTC (permalink / raw)
To: pve-devel
'on-match-next' doesnt't require a value to be set, so make the
property optional again - as it was before changing the type to the
pve-sdn-route-map-order option.
Fixes: ba48fb02862e819552631c54b824541396a8dba6
Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
---
src/PVE/Network/SDN/RouteMaps.pm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/PVE/Network/SDN/RouteMaps.pm b/src/PVE/Network/SDN/RouteMaps.pm
index b2bf9eda..c02a38ff 100644
--- a/src/PVE/Network/SDN/RouteMaps.pm
+++ b/src/PVE/Network/SDN/RouteMaps.pm
@@ -189,7 +189,9 @@ sub route_map_properties {
'on-match-goto', 'on-match-next', 'continue',
],
},
- value => get_standard_option('pve-sdn-route-map-order'),
+ value => get_standard_option('pve-sdn-route-map-order', {
+ optional => 1,
+ }),
},
optional => 1,
},
--
2.47.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-15 5:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-13 11:48 [PATCH pve-network 1/1] api: route maps: make value property optional for exit-action Stefan Hanreich
2026-05-15 5:02 ` applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox