summaryrefslogtreecommitdiff
path: root/src/vyconf_client.ml
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2025-04-15 15:12:02 +0100
committerGitHub <noreply@github.com>2025-04-15 15:12:02 +0100
commit4f8cd87849ae16f5efb127b63767176a243bcd8d (patch)
tree29f42006c605a639ec0a1bcc467225ec880c7e5f /src/vyconf_client.ml
parent61566db58d2b5f8eacbd1564ba1ae0690ac4b1f6 (diff)
parentf6653abbc5d4a5229fafa49d49bf517f6baada33 (diff)
downloadvyconf-current.tar.gz
vyconf-current.zip
Merge pull request #20 from jestabro/vyconf-configsessionHEADmastercurrent
T7321: Replace legacy operations in configsession.py with vyconf client operations
Diffstat (limited to 'src/vyconf_client.ml')
-rw-r--r--src/vyconf_client.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vyconf_client.ml b/src/vyconf_client.ml
index 7380760..c4811c5 100644
--- a/src/vyconf_client.ml
+++ b/src/vyconf_client.ml
@@ -48,8 +48,8 @@ let do_request client req =
let%lwt resp = Vyconf_connect.Message.read client.ic in
decode_pb_response (Pbrt.Decoder.of_bytes resp) |> Lwt.return
-let get_status client =
- let req = Status in
+let prompt client =
+ let req = Prompt in
let%lwt resp = do_request client req in
Lwt.return resp