Browse Source

Merge branch '1.5.x'

pull/9775/merge
Stephane Nicoll 9 years ago
parent
commit
43e1df7752
  1. 2
      spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/dropwizard/DropwizardMetricServices.java

2
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/dropwizard/DropwizardMetricServices.java

@ -148,7 +148,7 @@ public class DropwizardMetricServices implements CounterService, GaugeService { @@ -148,7 +148,7 @@ public class DropwizardMetricServices implements CounterService, GaugeService {
}
catch (IllegalArgumentException ex) {
Metric added = this.registry.getMetrics().get(name);
registrar.checkExisting(metric);
registrar.checkExisting(added);
return (T) added;
}
}

Loading…
Cancel
Save