aboutsummaryrefslogtreecommitdiff
path: root/mod/ci-common.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-10-24 07:57:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-10-24 07:57:59 +0200
commit295cdbd98a261559e34f8453e149e6be5bafcc5a (patch)
treeb99afa07d1127b5e88471d93e07c9d44fc89a8f5 /mod/ci-common.cxx
parent541cf26875c0ffa393a9653705f9504e8211021e (diff)
Review
Diffstat (limited to 'mod/ci-common.cxx')
-rw-r--r--mod/ci-common.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/ci-common.cxx b/mod/ci-common.cxx
index e9b1b07..5191d46 100644
--- a/mod/ci-common.cxx
+++ b/mod/ci-common.cxx
@@ -546,6 +546,7 @@ namespace brep
{
using namespace odb::core;
+ assert (mode == duplicate_tenant_mode::fail || !service.id.empty ());
assert (!transaction::has_current ());
duplicate_tenant_result r (duplicate_tenant_result::created);