summaryrefslogtreecommitdiff
path: root/src/vyconfd.ml
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2025-10-14 15:54:52 -0700
committerJohn Estabrook <jestabro@vyos.io>2025-10-22 19:36:45 -0500
commit916ea4510c35e1e37cf2ff53f48df20a1a1998bf (patch)
tree6555a4f029e1b12ef6e454fd0fca49399aecb0cb /src/vyconfd.ml
parent304e4d2a172fe1baf2c1df7f61b7a0a8e40f7d5d (diff)
downloadvyconf-916ea4510c35e1e37cf2ff53f48df20a1a1998bf.tar.gz
vyconf-916ea4510c35e1e37cf2ff53f48df20a1a1998bf.zip
T7910: drop proposed_config field from session record
After the move in T7728 to dynamically generate the session proposed config, the record field can be dropped.
Diffstat (limited to 'src/vyconfd.ml')
-rw-r--r--src/vyconfd.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vyconfd.ml b/src/vyconfd.ml
index 05cd693..caaee9c 100644
--- a/src/vyconfd.ml
+++ b/src/vyconfd.ml
@@ -113,11 +113,10 @@ let enter_conf_mode req token =
if req.exclusive then (conf_mode_lock := Some session.client_pid; aux token session)
else aux token session
-let exit_conf_mode world token =
+let exit_conf_mode _world token =
let open Session in
let session = Hashtbl.find sessions token in
let session = {session with
- proposed_config=world.running_config;
changeset = [];
modified = false}
in Hashtbl.replace sessions token session;