aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-ci-github.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-06-06 12:51:52 +0200
committerFrancois Kritzinger <francois@codesynthesis.com>2024-10-15 09:05:28 +0200
commite0d074e946c482a3cf497b89a883e955928519ca (patch)
tree27cb438175449835eaa925fdebc4b1d1b835550e /mod/mod-ci-github.hxx
parent1011d1bd0acadd7e8267137ceb4e3b9af866f157 (diff)
Review
Diffstat (limited to 'mod/mod-ci-github.hxx')
-rw-r--r--mod/mod-ci-github.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/mod/mod-ci-github.hxx b/mod/mod-ci-github.hxx
index 07295f2..489aac7 100644
--- a/mod/mod-ci-github.hxx
+++ b/mod/mod-ci-github.hxx
@@ -17,6 +17,8 @@
namespace brep
{
+ struct service_data;
+
class ci_github: public database_module,
private ci_start,
public tenant_service_build_unloaded,
@@ -83,8 +85,8 @@ namespace brep
// true, cancel its existing CI request first.
//
// Return true if an unloaded CI request was created. Ignore failure to
- // cancel because the CI request may already have been cancelled for a
- // legitimate reason.
+ // cancel because the CI request may already have been cancelled for other
+ // reasons.
//
// After this call we will start getting the build_unloaded()
// notifications until (1) we load the request, (2) we cancel it, or (3)
@@ -94,7 +96,7 @@ namespace brep
create_pull_request_ci (const basic_mark& error,
const basic_mark& warn,
const basic_mark& trace,
- string service_data,
+ const service_data&,
const string& pull_request_node_id,
bool cancel_first) const;