From 6c3fd0b0de75a825b1dc30d3752cdd742726c2ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Koz=C5=82owski?= Date: Wed, 2 Jun 2021 23:48:48 +0200 Subject: [PATCH] Fix path argument for force-leave end point --- src/main/java/com/orbitz/consul/AgentClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/orbitz/consul/AgentClient.java b/src/main/java/com/orbitz/consul/AgentClient.java index 50b81150..2f08d7de 100644 --- a/src/main/java/com/orbitz/consul/AgentClient.java +++ b/src/main/java/com/orbitz/consul/AgentClient.java @@ -700,7 +700,7 @@ Call register(@Body Registration registration, Call> getMembers(); @PUT("agent/force-leave/{node}") - Call forceLeave(@Path("string") String node); + Call forceLeave(@Path("node") String node); @PUT("agent/check/{state}/{checkId}") Call check(@Path("state") String state,