aboutsummaryrefslogtreecommitdiff
path: root/mod/ci-common.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-10-17 09:05:04 +0200
committerFrancois Kritzinger <francois@codesynthesis.com>2024-10-22 07:56:00 +0200
commit0cf90205710ee250a395c3683a6040eff7caa520 (patch)
tree4eb88c990977786d7b2c9f513f38b7f072395331 /mod/ci-common.cxx
parentfe764b411804f3516a1748b22316e7e5a27b97d0 (diff)
Sketch CI common API changes
Diffstat (limited to 'mod/ci-common.cxx')
-rw-r--r--mod/ci-common.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/ci-common.cxx b/mod/ci-common.cxx
index c0ef89f..1f0ff74 100644
--- a/mod/ci-common.cxx
+++ b/mod/ci-common.cxx
@@ -707,6 +707,8 @@ namespace brep
if (t == nullptr)
return nullopt;
+ // @@ Why not remove it if unloaded (and below)?
+
optional<tenant_service> r (move (t->service));
t->service = nullopt;
t->archived = true;