From 50ab944a2164f571890e355d1ee1dc9cbe04fef8 Mon Sep 17 00:00:00 2001 From: Shubhendu Date: Fri, 20 Oct 2023 12:45:25 +0530 Subject: [PATCH] Added option to enable back ILM expiry for replication (#237) Signed-off-by: Shubhendu Ram Tripathi --- cluster-commands.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cluster-commands.go b/cluster-commands.go index e75f6e1..5f8fe8f 100644 --- a/cluster-commands.go +++ b/cluster-commands.go @@ -876,11 +876,13 @@ type ReplicateEditStatus struct { // SREditOptions holds SR Edit options type SREditOptions struct { DisableILMExpiryReplication bool + EnableILMExpiryReplication bool } func (o *SREditOptions) getURLValues() url.Values { urlValues := make(url.Values) urlValues.Set("disableILMExpiryReplication", strconv.FormatBool(o.DisableILMExpiryReplication)) + urlValues.Set("enableILMExpiryReplication", strconv.FormatBool(o.EnableILMExpiryReplication)) return urlValues }