forked from lix-project/hydra
Separate the build IDs in the build_finished payload with tabs
hydra-notify splits the payload on tabs so we shouldn't separate the IDs with spaces.
This commit is contained in:
parent
4cabb37ebd
commit
6e358189ad
|
@ -470,7 +470,7 @@ void State::notifyBuildFinished(pqxx::work & txn, BuildID buildId,
|
||||||
{
|
{
|
||||||
auto payload = fmt("%d", buildId);
|
auto payload = fmt("%d", buildId);
|
||||||
for (auto & d : dependentIds)
|
for (auto & d : dependentIds)
|
||||||
payload += fmt("%d ", d);
|
payload += fmt("\t%d", d);
|
||||||
// FIXME: apparently parameterized() doesn't support NOTIFY.
|
// FIXME: apparently parameterized() doesn't support NOTIFY.
|
||||||
txn.exec(fmt("notify build_finished, '%s'", payload));
|
txn.exec(fmt("notify build_finished, '%s'", payload));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue