From 59ebae9198439ddd1e9bbdec61d163f638e1071a Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Tue, 24 Jun 2025 07:07:09 -0500 Subject: T7499: use direct request to vyconfd to avoid re-validating paths Merging before passing to the backend results in re-validation of existing paths in the proposed config; this is unavoidable with the legacy backend. For vyconf, send the merge proposal with the request, so validation is only required on new paths. --- data/vyconf.proto | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'data') diff --git a/data/vyconf.proto b/data/vyconf.proto index 4466837..30f95aa 100644 --- a/data/vyconf.proto +++ b/data/vyconf.proto @@ -91,7 +91,8 @@ message Request { message Merge { required string Location = 1; - optional ConfigFormat format = 2; + required bool destructive = 2; + optional ConfigFormat format = 3; } message Save { -- cgit v1.2.3