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. (#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>
  • Loading branch information
github-actions[bot] committed Sep 19, 2024
1 parent a019322 commit c8bfff9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,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 @@ -87,7 +87,7 @@ public NodesReloadSecureSettingsRequest(StreamInput in) throws IOException {
* nodes.
*/
public NodesReloadSecureSettingsRequest(String... nodesIds) {
super(nodesIds);
super(true, nodesIds);

Check warning on line 90 in server/src/main/java/org/opensearch/action/admin/cluster/node/reload/NodesReloadSecureSettingsRequest.java

View check run for this annotation

Codecov / codecov/patch

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

Added line #L90 was not covered by tests
}

@Nullable
Expand Down

0 comments on commit c8bfff9

Please sign in to comment.