Commit 7f03d322 authored by Georg Mittendorfer's avatar Georg Mittendorfer

Added FIXME

parent 45b9b041
Pipeline #44053588 passed with stage
in 2 minutes and 51 seconds
......@@ -46,6 +46,7 @@ public class NodeClient {
.headers(node.getHeadersConsumer())
.syncBody(command)
.exchange()
// FIXME the following will not work in case of invalid response (e.g. 503 with text/html)
.flatMap(response -> response.toEntity(responseType))
.timeout(node.getTimeout(command))
.log(logger.getName(), FINE, ON_NEXT)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment