diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-10-22 17:48:48 +0300 |
---|---|---|
committer | Francois Kritzinger <francois@codesynthesis.com> | 2024-12-10 16:34:15 +0200 |
commit | 86e549e50d8e77a01f701940979a631eec1d82c5 (patch) | |
tree | 8a4eeb2bf40072390b451046c86328a9e22b9651 /mod/mod-ci-github.cxx | |
parent | a576d5df6123da0bd5f84ba17dadec32d9f63bfc (diff) |
Implement CI common API changes
Diffstat (limited to 'mod/mod-ci-github.cxx')
-rw-r--r-- | mod/mod-ci-github.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/mod/mod-ci-github.cxx b/mod/mod-ci-github.cxx index 20c9dc3..84633fd 100644 --- a/mod/mod-ci-github.cxx +++ b/mod/mod-ci-github.cxx @@ -505,14 +505,14 @@ namespace brep chrono::seconds (0) /* delay */, dtm)); - if (!pr.first) + if (!pr) { fail << "check suite " << cs.check_suite.node_id << ": unable to create unloaded CI request"; } if (dtm == duplicate_tenant_mode::replace && - pr.second == duplicate_tenant_result::created) + pr->second == duplicate_tenant_result::created) { error << "check suite " << cs.check_suite.node_id << ": re-requested but tenant_service with id " << sid @@ -1908,8 +1908,7 @@ namespace brep return create (error, warn, &trace, *build_db_, move (ts), chrono::seconds (30) /* interval */, - chrono::seconds (0) /* delay */) - .first.has_value (); // @@ TODO HACKED AROUND + chrono::seconds (0) /* delay */).has_value (); } string ci_github:: |