dumb fix (#72)

This commit is contained in:
Tyr Mactire 2022-08-13 20:52:48 -07:00 committed by GitHub
parent 32c1ec3a19
commit 537e7113cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,8 +65,8 @@ func (m *Module) collectAdminStatistics(ctx context.Context) (map[int]map[*model
getMetricsWeek := map[int]func(ctx context.Context) (map[*models.Instance]logic.MetricsDataPointsTime, error){
statMetricsGetAllDeliverErrorWeek: m.logic.MetricsGetAllDeliverErrorWeek,
statMetricsGetAllDeliverSuccessWeek: m.logic.MetricsGetAllDeliverErrorWeek,
statMetricsGetAllReceivedWeek: m.logic.MetricsGetAllDeliverErrorWeek,
statMetricsGetAllDeliverSuccessWeek: m.logic.MetricsGetAllDeliverSuccessWeek,
statMetricsGetAllReceivedWeek: m.logic.MetricsGetAllReceivedWeek,
}
metricsWeekChan := make(chan map[int]map[*models.Instance]logic.MetricsDataPointsTime, len(getMetricsWeek)+1)