1
0
mirror of https://github.com/Luzifer/mondash.git synced 2024-09-19 08:52:58 +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
}