summaryrefslogtreecommitdiff
path: root/src/vyconf_client.ml
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 20:50:47 -0500
commit037c3ce961e1fec94b1d50b069b69c6636ac0393 (patch)
treeb192c3c1549c8bc3bc6cffb69ac0b92b60941662 /src/vyconf_client.ml
parent5d7927e392e70436aaca1f8261e5d4ab8e4ec8f8 (diff)
downloadvyconf-037c3ce961e1fec94b1d50b069b69c6636ac0393.tar.gz
vyconf-037c3ce961e1fec94b1d50b069b69c6636ac0393.zip
T6718: reorganize layout for dune build of libs/executables
Diffstat (limited to 'src/vyconf_client.ml')
-rw-r--r--src/vyconf_client.ml8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vyconf_client.ml b/src/vyconf_client.ml
index 63ff121..bc4002c 100644
--- a/src/vyconf_client.ml
+++ b/src/vyconf_client.ml
@@ -1,5 +1,5 @@
-include Vyconf_pb
-include Vyconf_types
+include Vyconf_connect.Vyconf_pb
+include Vyconf_connect.Vyconf_types
type t = {
sock: Lwt_unix.file_descr;
@@ -45,8 +45,8 @@ let do_request client req =
let enc = Pbrt.Encoder.create () in
let () = encode_request_envelope {token=client.session; request=req} enc in
let msg = Pbrt.Encoder.to_bytes enc in
- let%lwt () = Message.write client.oc msg in
- let%lwt resp = Message.read client.ic in
+ let%lwt () = Vyconf_connect.Message.write client.oc msg in
+ let%lwt resp = Vyconf_connect.Message.read client.ic in
decode_response (Pbrt.Decoder.of_bytes resp) |> Lwt.return
let get_status client =