aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-ci-github-service-data.cxx
diff options
context:
space:
mode:
authorFrancois Kritzinger <francois@codesynthesis.com>2024-05-30 10:17:04 +0200
committerFrancois Kritzinger <francois@codesynthesis.com>2024-06-05 09:12:46 +0200
commit443678c15f3bda4b258b31ed2d6ef409577cafdf (patch)
tree9f55bd7f3d16653ea755007ae3248b937392415a /mod/mod-ci-github-service-data.cxx
parentd8de87eb714aa27e87a08fafccbd9b685e19fe3b (diff)
Rename head_sha to report_sha in service data
Diffstat (limited to 'mod/mod-ci-github-service-data.cxx')
-rw-r--r--mod/mod-ci-github-service-data.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/mod/mod-ci-github-service-data.cxx b/mod/mod-ci-github-service-data.cxx
index 7fd554d..1121f2f 100644
--- a/mod/mod-ci-github-service-data.cxx
+++ b/mod/mod-ci-github-service-data.cxx
@@ -55,7 +55,7 @@ namespace brep
merge_node_id = *s;
}
- head_sha = p.next_expect_member_string ("head_sha");
+ report_sha = p.next_expect_member_string ("report_sha");
p.next_expect_member_array ("check_runs");
while (p.next_expect (event::begin_object, event::end_array))
@@ -93,12 +93,12 @@ namespace brep
timestamp iat_ea,
uint64_t iid,
string rid,
- string hs)
+ string rs)
: warning_success (ws),
installation_access (move (iat_tok), iat_ea),
installation_id (iid),
repository_node_id (move (rid)),
- head_sha (move (hs))
+ report_sha (move (rs))
{
}
@@ -117,7 +117,7 @@ namespace brep
repository_node_id (move (rid)),
repository_clone_url (move (rcu)),
pr_number (prn),
- head_sha (move (hs))
+ report_sha (move (rs))
{
}
@@ -161,7 +161,7 @@ namespace brep
else
s.value (nullptr);
- s.member ("head_sha", head_sha);
+ s.member ("report_sha", report_sha);
s.member_begin_array ("check_runs");
for (const check_run& cr: check_runs)