all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [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

* applied: [PATCH pve-network 1/1] api: route maps: make value property optional for exit-action
  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 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2026-05-15  5:02 UTC (permalink / raw)
  To: pve-devel, Stefan Hanreich

On Wed, 13 May 2026 13:48:54 +0200, Stefan Hanreich wrote:
> '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.

Applied, thanks!

[1/1] api: route maps: make value property optional for exit-action
      commit: 92e2fd055e4b4291f9affcfd118c3103c56d6222




^ permalink raw reply	[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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal