From: Stefan Hanreich <s.hanreich@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH pve-network 1/1] api: route maps: make value property optional for exit-action
Date: Wed, 13 May 2026 13:48:54 +0200 [thread overview]
Message-ID: <20260513114855.163214-1-s.hanreich@proxmox.com> (raw)
'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
next reply other threads:[~2026-05-13 11:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-13 11:48 Stefan Hanreich [this message]
2026-05-15 5:02 ` applied: [PATCH pve-network 1/1] api: route maps: make value property optional for exit-action Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260513114855.163214-1-s.hanreich@proxmox.com \
--to=s.hanreich@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox