Skip to content

Commit 1bb8a65

Browse files
author
Swetha Guptha
committed
Explicitly set include discovery nodes flag in reload secure setting request.
Signed-off-by: Swetha Guptha <[email protected]>
1 parent e3bbc74 commit 1bb8a65

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
@@ -60,7 +60,7 @@ public class NodesReloadSecureSettingsRequest extends BaseNodesRequest<NodesRelo
6060
private SecureString secureSettingsPassword;
6161

6262
public NodesReloadSecureSettingsRequest() {
63-
super((String[]) null);
63+
super(true, (String[]) null);
6464
}
6565

6666
public NodesReloadSecureSettingsRequest(StreamInput in) throws IOException {
@@ -84,7 +84,7 @@ public NodesReloadSecureSettingsRequest(StreamInput in) throws IOException {
8484
* nodes.
8585
*/
8686
public NodesReloadSecureSettingsRequest(String... nodesIds) {
87-
super(nodesIds);
87+
super(true, nodesIds);
8888
}
8989

9090
@Nullable

0 commit comments

Comments
 (0)