Merge pull request #5176 from smic1909/patch-1

Fixed assignment of restTemplate
This commit is contained in:
Loredana Crusoveanu 2018-10-19 17:14:18 +03:00 committed by GitHub
commit 070bc10214
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ public class BarConsumerService {
@Autowired
public BarConsumerService(RestTemplateBuilder restTemplateBuilder) {
RestTemplate restTemplate = restTemplateBuilder
restTemplate = restTemplateBuilder
.errorHandler(new RestTemplateResponseErrorHandler())
.build();
}