From de897b9b7228e6e26811cfdd5f6da4aca9ea1afe Mon Sep 17 00:00:00 2001 From: lltx <50090230+lltx@users.noreply.github.com> Date: Sat, 13 Jun 2020 12:43:21 +0800 Subject: [PATCH] Fix wrong property reference to keys-to-sanitize in Javadoc See gh-21906 --- .../properties/ConfigurationPropertiesReportEndpoint.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/context/properties/ConfigurationPropertiesReportEndpoint.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/context/properties/ConfigurationPropertiesReportEndpoint.java index 88a51d12c8..4abfd44c48 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/context/properties/ConfigurationPropertiesReportEndpoint.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/context/properties/ConfigurationPropertiesReportEndpoint.java @@ -71,8 +71,9 @@ import org.springframework.util.StringUtils; *
* To protect sensitive information from being exposed, certain property values are masked * if their names end with a set of configurable values (default "password" and "secret"). - * Configure property names by using {@code endpoints.configprops.keys_to_sanitize} in - * your Spring Boot application configuration. + * Configure property names by using + * {@code management.endpoint.configprops.keys-to-sanitize} in your Spring Boot + * application configuration. * * @author Christian Dupuis * @author Dave Syer