From 4f5e73c023f0abc12d8c026545bc72e7cda7caa2 Mon Sep 17 00:00:00 2001 From: Rishab Nahata Date: Fri, 16 Dec 2022 12:48:07 +0530 Subject: [PATCH] Fix Signed-off-by: Rishab Nahata --- .../decommission/awareness/put/DecommissionRequest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/main/java/org/opensearch/action/admin/cluster/decommission/awareness/put/DecommissionRequest.java b/server/src/main/java/org/opensearch/action/admin/cluster/decommission/awareness/put/DecommissionRequest.java index b06753c353173..c75931ab2a5a5 100644 --- a/server/src/main/java/org/opensearch/action/admin/cluster/decommission/awareness/put/DecommissionRequest.java +++ b/server/src/main/java/org/opensearch/action/admin/cluster/decommission/awareness/put/DecommissionRequest.java @@ -46,8 +46,8 @@ public DecommissionRequest(DecommissionAttribute decommissionAttribute, boolean this.timeout = timeout; } - public DecommissionRequest(DecommissionAttribute decommissionAttribute, TimeValue timeout) { - this(decommissionAttribute, false, timeout); + public DecommissionRequest(DecommissionAttribute decommissionAttribute) { + this.decommissionAttribute = decommissionAttribute; } public DecommissionRequest(StreamInput in) throws IOException {