Correct assertion for indicators parameter in CompositeHealthIndicator
Closes gh-3417
This commit is contained in:
parent
27817b6733
commit
fdb83ec338
|
|
@ -52,7 +52,7 @@ public class CompositeHealthIndicator implements HealthIndicator {
|
|||
public CompositeHealthIndicator(HealthAggregator healthAggregator,
|
||||
Map<String, HealthIndicator> indicators) {
|
||||
Assert.notNull(healthAggregator, "HealthAggregator must not be null");
|
||||
Assert.notNull(healthAggregator, "Indicators must not be null");
|
||||
Assert.notNull(indicators, "Indicators must not be null");
|
||||
this.indicators = new LinkedHashMap<String, HealthIndicator>(indicators);
|
||||
this.healthAggregator = healthAggregator;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue