diff options
| author | John Estabrook <jestabro@vyos.io> | 2025-04-08 20:51:36 -0500 |
|---|---|---|
| committer | John Estabrook <jestabro@vyos.io> | 2025-04-11 13:32:31 -0500 |
| commit | 64c52636c8c8727b0a735c0bd441dc4e8b4b5e13 (patch) | |
| tree | fe0caa0c5be4c7d1c355536f4124cc2e1ee03e45 /data | |
| parent | 61566db58d2b5f8eacbd1564ba1ae0690ac4b1f6 (diff) | |
| download | vyconf-64c52636c8c8727b0a735c0bd441dc4e8b4b5e13.tar.gz vyconf-64c52636c8c8727b0a735c0bd441dc4e8b4b5e13.zip | |
T7321: rename vyconf.proto message Status and enum to avoid collision
The message and enum name Status conflicts with the use in vycall.proto;
as the latter has consistency with other (non-conflicting) uses of the
term, rename the former.
Diffstat (limited to 'data')
| -rw-r--r-- | data/vyconf.proto | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/data/vyconf.proto b/data/vyconf.proto index 56875a3..15e10ae 100644 --- a/data/vyconf.proto +++ b/data/vyconf.proto @@ -9,7 +9,7 @@ message Request { OutJSON = 1; } - message Status { + message Prompt { } message SetupSession { @@ -125,7 +125,7 @@ message Request { oneof msg { - Status status = 1; + Prompt prompt = 1; SetupSession setup_session = 2; Set set = 3; Delete delete = 4; @@ -156,7 +156,7 @@ message RequestEnvelope { required Request request = 2; } -enum Status { +enum Errnum { SUCCESS = 0; FAIL = 1; INVALID_PATH = 2; @@ -169,7 +169,7 @@ enum Status { } message Response { - required Status status = 1; + required Errnum status = 1; optional string output = 2; optional string error = 3; optional string warning = 4; |
