Fixed assignment of restTemplate

Fixed assignment of restTemplate
This commit is contained in:
Simon 2018-09-06 11:45:25 +02:00 committed by GitHub
parent a2f77a2783
commit 334137939b
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 @Autowired
public BarConsumerService(RestTemplateBuilder restTemplateBuilder) { public BarConsumerService(RestTemplateBuilder restTemplateBuilder) {
RestTemplate restTemplate = restTemplateBuilder restTemplate = restTemplateBuilder
.errorHandler(new RestTemplateResponseErrorHandler()) .errorHandler(new RestTemplateResponseErrorHandler())
.build(); .build();
} }