Skip to content

Commit

Permalink
Added option to enable back ILM expiry for replication (#237)
Browse files Browse the repository at this point in the history
Signed-off-by: Shubhendu Ram Tripathi <[email protected]>
  • Loading branch information
shtripat authored Oct 20, 2023
1 parent 08a3fc2 commit 50ab944
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cluster-commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 50ab944

Please sign in to comment.