summaryrefslogtreecommitdiff
path: root/src/vyconfd.ml
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2025-04-08 20:51:36 -0500
committerJohn Estabrook <jestabro@vyos.io>2025-04-11 13:32:31 -0500
commit64c52636c8c8727b0a735c0bd441dc4e8b4b5e13 (patch)
treefe0caa0c5be4c7d1c355536f4124cc2e1ee03e45 /src/vyconfd.ml
parent61566db58d2b5f8eacbd1564ba1ae0690ac4b1f6 (diff)
downloadvyconf-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 'src/vyconfd.ml')
-rw-r--r--src/vyconfd.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vyconfd.ml b/src/vyconfd.ml
index fc47bf6..a5117b6 100644
--- a/src/vyconfd.ml
+++ b/src/vyconfd.ml
@@ -236,7 +236,7 @@ let rec handle_connection world ic oc () =
| _ as req ->
begin
(match req with
- | _, Status -> response_tmpl
+ | _, Prompt -> response_tmpl
| _, Setup_session r -> setup_session world r
| _, Reload_reftree r -> reload_reftree world r
| None, _ -> {response_tmpl with status=Fail; output=(Some "Operation requires session token")}