diff options
Diffstat (limited to 'mod/ci-common.cxx')
-rw-r--r-- | mod/ci-common.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/ci-common.cxx b/mod/ci-common.cxx index d750b1b..4b9f9f9 100644 --- a/mod/ci-common.cxx +++ b/mod/ci-common.cxx @@ -1007,9 +1007,9 @@ namespace brep tr.commit (); - if (t == nullptr) + if (t == nullptr || !t->service) return nullopt; - return pair<tenant_service, bool> (move (t->service), t->archived); + return pair<tenant_service, bool> (move (*t->service), t->archived); } } |