mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-09-03 17:52:30 +02:00
Update MetricsController.java
This commit is contained in:
parent
fa5398e0a2
commit
ba1745e762
@ -40,9 +40,7 @@ public class MetricsController {
|
|||||||
|
|
||||||
@PostConstruct
|
@PostConstruct
|
||||||
public void init() {
|
public void init() {
|
||||||
Boolean metricsEnabled = applicationProperties.getMetrics().isEnabled();
|
metricsEnabled = applicationProperties.getMetrics().isEnabled();
|
||||||
if (metricsEnabled == null) metricsEnabled = true;
|
|
||||||
this.metricsEnabled = metricsEnabled;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@GetMapping("/status")
|
@GetMapping("/status")
|
||||||
|
Loading…
Reference in New Issue
Block a user