Skip to content

Commit

Permalink
Explicitly set include discovery nodes flag in reloadSecureSetting re…
Browse files Browse the repository at this point in the history
…quest. (opensearch-project#15972)

Signed-off-by: Swetha Guptha <gupthasg@amazon.com>
  • Loading branch information
SwethaGuptha committed Sep 19, 2024
1 parent 6bef1e1 commit 620db0a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public class NodesReloadSecureSettingsRequest extends BaseNodesRequest<NodesRelo
private SecureString secureSettingsPassword;

public NodesReloadSecureSettingsRequest() {
super((String[]) null);
super(true, (String[]) null);
}

public NodesReloadSecureSettingsRequest(StreamInput in) throws IOException {
Expand All @@ -84,7 +84,7 @@ public NodesReloadSecureSettingsRequest(StreamInput in) throws IOException {
* nodes.
*/
public NodesReloadSecureSettingsRequest(String... nodesIds) {
super(nodesIds);
super(true, nodesIds);
}

@Nullable
Expand Down

0 comments on commit 620db0a

Please sign in to comment.