aboutsummaryrefslogtreecommitdiff
path: root/mod/ci-common.cxx
diff options
context:
space:
mode:
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);