From 2b4c30c4b29412da14b9fe54ee63967880bdfd9c Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Mon, 19 Nov 2018 15:18:13 +0100 Subject: [PATCH] Added more info about how to disable compatibility check; fixes gh-449 --- .../cloud/configuration/SpringBootVersionVerifier.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-cloud-commons/src/main/java/org/springframework/cloud/configuration/SpringBootVersionVerifier.java b/spring-cloud-commons/src/main/java/org/springframework/cloud/configuration/SpringBootVersionVerifier.java index 525a014e..38e46989 100644 --- a/spring-cloud-commons/src/main/java/org/springframework/cloud/configuration/SpringBootVersionVerifier.java +++ b/spring-cloud-commons/src/main/java/org/springframework/cloud/configuration/SpringBootVersionVerifier.java @@ -145,7 +145,8 @@ class SpringBootVersionVerifier implements CompatibilityVerifier { return String.format("Change Spring Boot version to one of the following versions %s .\n" + "You can find the latest Spring Boot versions here [%s]. \n" + "If you want to learn more about the Spring Cloud Release train compatibility, you " - + "can visit this page [%s] and check the [Release Trains] section.", + + "can visit this page [%s] and check the [Release Trains] section.\n" + + "If you want to disable this check, just set the property [spring.cloud.compatibility-verifier.enabled=false]", this.acceptedVersions, "https://spring.io/projects/spring-boot#learn", "https://spring.io/projects/spring-cloud#overview"); }