You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (replicaAutoExpand != null) {
Settings indexSettings = Settings.builder()
.put("index.auto_expand_replicas", replicaAutoExpand ? "0-all" : "false")
.build();
Response res = restHighLevelClient.getLowLevelClient()
.performRequest(new Request("PUT", "/_plugins/_security/configupdate?config_types=" + Joiner.on(",").join(getTypes())));
if (res.getStatusLine().getStatusCode() != 200) {
System.out.println("Unable to reload configuration because return code was " + whoAmIRes.getStatusLine());
return (-1);
}
How can one reproduce the bug?
reading SecurityAdmin.java, inner the branch of if (replicaAutoExpand != null)
What is the expected behavior?
print res的http status,not whoAmIRes
What is your host/environment?
OS: RHEL 7.2
Version [2.18.0]
Plugins
Do you have any screenshots?
No
Do you have any additional context?
No
The text was updated successfully, but these errors were encountered:
yinl
added
bug
Something isn't working
untriaged
Require the attention of the repository maintainers and may need to be prioritized
labels
Mar 18, 2025
What is the bug?
s/whoAmIRes/res
How can one reproduce the bug?
reading SecurityAdmin.java, inner the branch of if (replicaAutoExpand != null)
What is the expected behavior?
print res的http status,not whoAmIRes
What is your host/environment?
Do you have any screenshots?
No
Do you have any additional context?
No
The text was updated successfully, but these errors were encountered: