mirror of
https://github.com/Luzifer/mondash.git
synced 2024-11-10 00:20:02 +00:00
Initialize meta on new metrics
This commit is contained in:
parent
c9bef10930
commit
07a0f8ba79
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ func NewDashboardMetric() *DashboardMetric {
|
||||||
Expires: 604800,
|
Expires: 604800,
|
||||||
Freshness: 3600,
|
Freshness: 3600,
|
||||||
HistoricalData: DashboardMetricHistory{},
|
HistoricalData: DashboardMetricHistory{},
|
||||||
|
Meta: DashboardMetricMeta{},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue