mirror of
https://git.ptzo.gdn/feditools/relay.git
synced 2024-09-21 14:07:12 +00:00
dumb fix (#72)
This commit is contained in:
parent
32c1ec3a19
commit
537e7113cf
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user