Skip to content

Commit aa9c5e6

Browse files
committed
Align expectation with new endpoint enabled property description
See gh-10870
1 parent 4d5de82 commit aa9c5e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/ConfigurationMetadataAnnotationProcessorTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -626,8 +626,8 @@ public void incrementalEndpointBuildEnableSpecificEndpoint() throws Exception {
626626
private Metadata.MetadataItemCondition enabledFlag(String endpointId,
627627
Boolean defaultValue) {
628628
return Metadata.withEnabledFlag("management.endpoint." + endpointId + ".enabled")
629-
.withDefaultValue(defaultValue)
630-
.withDescription(String.format("Enable the %s endpoint.", endpointId));
629+
.withDefaultValue(defaultValue).withDescription(
630+
String.format("Whether to enable the %s endpoint.", endpointId));
631631
}
632632

633633
private Metadata.MetadataItemCondition cacheTtl(String endpointId) {

0 commit comments

Comments
 (0)