diff options
author | John Estabrook <jestabro@vyos.io> | 2024-10-23 18:50:46 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2024-10-27 21:47:40 -0500 |
commit | a5473033fc8ea92891d6ebab9bdeaccbe742d565 (patch) | |
tree | 29b2b3b19e9b9392878b24e106cc657de8589d6f /data | |
parent | 73652e2bfc8a785e9b3dc447e0a0ced4716549e3 (diff) | |
download | vyconf-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.proto | 6 |
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; } } |