Skip to content

Commit c8bfff9

Browse files
Explicitly set include discovery nodes flag in reloadSecureSetting request. (#15972)
Signed-off-by: Swetha Guptha <[email protected]> (cherry picked from commit 620db0a) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent a019322 commit c8bfff9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/main/java/org/opensearch/action/admin/cluster/node/reload/NodesReloadSecureSettingsRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public class NodesReloadSecureSettingsRequest extends BaseNodesRequest<NodesRelo
6161
private SecureString secureSettingsPassword;
6262

6363
public NodesReloadSecureSettingsRequest() {
64-
super((String[]) null);
64+
super(true, (String[]) null);
6565
}
6666

6767
public NodesReloadSecureSettingsRequest(StreamInput in) throws IOException {
@@ -87,7 +87,7 @@ public NodesReloadSecureSettingsRequest(StreamInput in) throws IOException {
8787
* nodes.
8888
*/
8989
public NodesReloadSecureSettingsRequest(String... nodesIds) {
90-
super(nodesIds);
90+
super(true, nodesIds);
9191
}
9292

9393
@Nullable

0 commit comments

Comments
 (0)