1
0
Fork 0
mirror of https://github.com/Luzifer/mondash.git synced 2024-11-09 16:10:01 +00:00

Fix: Store StalenessStatus on metrics update

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-09-16 15:22:24 +02:00
parent 68829ae49b
commit 458663c3cd
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -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
}