Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
johanix committed Jun 17, 2024
1 parent 230cad3 commit 09147ad
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion statusupdater.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,11 @@ func (td *TemData) StatusUpdater(conf *Config, stopch chan struct{}) {
s.Counters[tsu.Component]++
s.ComponentStatus[tsu.Component] = "ok"
delete(s.ErrorMsgs, tsu.Component)
dirty = true
// tapir-observations do not make the status dirty
if tsu.Component != "tapir-observation" && tsu.Component != "mqtt-event" {
dirty = true
}

default:
log.Printf("StatusUpdater: Success report for unknown component: %s", tsu.Component)
}
Expand Down

0 comments on commit 09147ad

Please sign in to comment.