forked from MinecraftUtilities/Backend
ah shit, forgot to load the metrics after messing around
This commit is contained in:
parent
7a50dccabd
commit
d8d4f32006
@ -86,8 +86,8 @@ public class MetricService {
|
|||||||
*/
|
*/
|
||||||
public void loadMetrics() {
|
public void loadMetrics() {
|
||||||
log.info("Loading metrics");
|
log.info("Loading metrics");
|
||||||
for (Metric<?> metricToLoad : metricsRepository.findAll()) {
|
for (Metric<?> metric : metricsRepository.findAll()) {
|
||||||
|
metrics.put(metric.getClass(), metric);
|
||||||
}
|
}
|
||||||
log.info("Loaded {} metrics", metrics.size());
|
log.info("Loaded {} metrics", metrics.size());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user