From f10cb55a6b5fe6ba76a74b3fcc6c4dbcd0372188 Mon Sep 17 00:00:00 2001 From: oleksandrkovalenko Date: Mon, 8 Apr 2019 16:28:52 +0200 Subject: [PATCH] Change error in documentation (#548) --- docs/src/main/asciidoc/spring-cloud-consul.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/spring-cloud-consul.adoc b/docs/src/main/asciidoc/spring-cloud-consul.adoc index c13668f2..02c845cc 100644 --- a/docs/src/main/asciidoc/spring-cloud-consul.adoc +++ b/docs/src/main/asciidoc/spring-cloud-consul.adoc @@ -240,7 +240,7 @@ If you want to access service STORES using the RestTemplate simply declare: @LoadBalanced @Bean public RestTemplate loadbalancedRestTemplate() { - new RestTemplate(); + return new RestTemplate(); } ----