Builder: says each toolchain it hears, and whether it changed what it knew
This commit is contained in:
@@ -157,7 +157,9 @@ func (h *toolchainsHeard) Reported(ctx context.Context, m jetstream.Msg) bool {
|
||||
h.logf("%s is no toolchain, and is dropped: %v", subject, err)
|
||||
return true
|
||||
}
|
||||
if h.set.Set(e.Node, tc) {
|
||||
changed := h.set.Set(e.Node, tc)
|
||||
h.logf("toolchain heard on %s: %s %s of %s (changed: %v)", subject, e.Language, e.Version, e.Node, changed)
|
||||
if changed {
|
||||
h.keep(e.Node, tc)
|
||||
h.agree(ctx)
|
||||
h.changed(ctx)
|
||||
|
||||
Reference in New Issue
Block a user