Merge pull request #5176 from smic1909/patch-1
Fixed assignment of restTemplate
This commit is contained in:
commit
070bc10214
|
@ -14,7 +14,7 @@ public class BarConsumerService {
|
|||
|
||||
@Autowired
|
||||
public BarConsumerService(RestTemplateBuilder restTemplateBuilder) {
|
||||
RestTemplate restTemplate = restTemplateBuilder
|
||||
restTemplate = restTemplateBuilder
|
||||
.errorHandler(new RestTemplateResponseErrorHandler())
|
||||
.build();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue