mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 20:59:02 +02:00
console_view: Simplify buildersById code
With the fakechanges fixed, we can now simplify the builders by ID code. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
4718142be7
commit
e54d0c5f83
|
@ -446,12 +446,11 @@ class Console {
|
||||||
change.caption = rev;
|
change.caption = rev;
|
||||||
this.fakechanges.push(change)
|
this.fakechanges.push(change)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (change.buildersById[build.builderid].builds.indexOf(build) == -1) {
|
|
||||||
change.buildersById[build.builderid].builds.push(build);
|
change.buildersById[build.builderid].builds.push(build);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
makeFakeChange(revision, when_timestamp, comments) {
|
makeFakeChange(revision, when_timestamp, comments) {
|
||||||
const change = {
|
const change = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user