summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-10-23 18:50:46 -0500
committerJohn Estabrook <jestabro@vyos.io>2024-10-27 21:47:40 -0500
commita5473033fc8ea92891d6ebab9bdeaccbe742d565 (patch)
tree29b2b3b19e9b9392878b24e106cc657de8589d6f /data
parent73652e2bfc8a785e9b3dc447e0a0ced4716549e3 (diff)
downloadvyconf-a5473033fc8ea92891d6ebab9bdeaccbe742d565.tar.gz
vyconf-a5473033fc8ea92891d6ebab9bdeaccbe742d565.zip
T6718: fix teardown method
An empty protobuf message does not correctly generate encode/decode functions. This appears to be fixed upstream, but for now, use workaround of adding a reasonable field.
Diffstat (limited to 'data')
-rw-r--r--data/vyconf.proto6
1 files changed, 5 insertions, 1 deletions
diff --git a/data/vyconf.proto b/data/vyconf.proto
index f2245aa..d989fb3 100644
--- a/data/vyconf.proto
+++ b/data/vyconf.proto
@@ -17,6 +17,10 @@ message Request {
optional int32 OnBehalfOf = 2;
}
+ message Teardown {
+ optional int32 OnBehalfOf = 1;
+ }
+
message Validate {
repeated string Path = 1;
optional OutputFormat output_format = 2;
@@ -135,7 +139,7 @@ message Request {
EnterConfigurationMode configure = 19;
ExitConfigurationMode exit_configure = 20;
Validate validate = 21;
- string teardown = 22;
+ Teardown teardown = 22;
}
}