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(); } ----