diff options
author | John Estabrook <jestabro@vyos.io> | 2025-01-14 12:32:17 -0600 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2025-01-14 12:33:48 -0600 |
commit | 1638b14da99a1dfd89e379dd4b457bb27bcb9a9b (patch) | |
tree | b0f751b3bbd0c8c07c648f7dec864cbfdc7cfc93 /src/session.ml | |
parent | 5ae7f4150091efb66c6f9946df81adde3ddc6ace (diff) | |
download | vyconf-1638b14da99a1dfd89e379dd4b457bb27bcb9a9b.tar.gz vyconf-1638b14da99a1dfd89e379dd4b457bb27bcb9a9b.zip |
T7046: T6946: make world fields reference_tree, running_config mutable
The world data structure is fixed in the main loop, however, it will
need updates for dynamic loading of reference tree in the presence of
addons, respectively, the running config at completion of commit.
Diffstat (limited to 'src/session.ml')
-rw-r--r-- | src/session.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/session.ml b/src/session.ml index a8eccad..567f999 100644 --- a/src/session.ml +++ b/src/session.ml @@ -10,8 +10,8 @@ type cfg_op = | CfgDelete of string list * string option type world = { - running_config: CT.t; - reference_tree: RT.t; + mutable running_config: CT.t; + mutable reference_tree: RT.t; vyconf_config: Vyconf_config.t; dirs: Directories.t } |