mirror of
https://github.com/Luzifer/mondash.git
synced 2024-09-20 01:12:58 +00:00
Fix: Store StalenessStatus on metrics update
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
68829ae49b
commit
458663c3cd
@ -225,6 +225,7 @@ func (dm *dashboardMetric) Update(m *dashboardMetric) {
|
|||||||
dm.IgnoreMAD = m.IgnoreMAD
|
dm.IgnoreMAD = m.IgnoreMAD
|
||||||
dm.HideMAD = m.HideMAD
|
dm.HideMAD = m.HideMAD
|
||||||
dm.HideValue = m.HideValue
|
dm.HideValue = m.HideValue
|
||||||
|
dm.StalenessStatus = m.StalenessStatus
|
||||||
if m.Expires != 0 {
|
if m.Expires != 0 {
|
||||||
dm.Expires = m.Expires
|
dm.Expires = m.Expires
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user