diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/info/GitInfoContributor.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/info/GitInfoContributor.java index 674b09da71f6..72424a8d9a25 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/info/GitInfoContributor.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/info/GitInfoContributor.java @@ -71,7 +71,6 @@ protected PropertySource toSimplePropertySource() { @Override protected void postProcessContent(Map content) { replaceValue(getNestedMap(content, "commit"), "time", getProperties().getCommitTime()); - replaceValue(getNestedMap(content, "build"), "time", getProperties().getInstant("build.time")); } static class GitInfoContributorRuntimeHints implements RuntimeHintsRegistrar {