mirror of https://github.com/apache/druid.git
Update CoordinatorRuleManager for http-client 1.0.4
This commit is contained in:
parent
44a2b204df
commit
67d58f6d8d
|
@ -158,7 +158,7 @@ public class CoordinatorRuleManager
|
|||
).get();
|
||||
|
||||
if (response.getStatus().equals(HttpResponseStatus.FOUND)) {
|
||||
url = response.getResponse().getHeader("Location");
|
||||
url = response.getResponse().headers().get("Location");
|
||||
log.info("Redirecting rule request to [%s]", url);
|
||||
response = httpClient.go(
|
||||
new Request(
|
||||
|
|
Loading…
Reference in New Issue