mirror of
https://github.com/Luzifer/mondash.git
synced 2024-12-22 20:11:18 +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
1 changed files with 1 additions and 0 deletions
|
@ -225,6 +225,7 @@ func (dm *dashboardMetric) Update(m *dashboardMetric) {
|
|||
dm.IgnoreMAD = m.IgnoreMAD
|
||||
dm.HideMAD = m.HideMAD
|
||||
dm.HideValue = m.HideValue
|
||||
dm.StalenessStatus = m.StalenessStatus
|
||||
if m.Expires != 0 {
|
||||
dm.Expires = m.Expires
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue