REST Update Settings API should not take timeout and master_timeout as index parameters
closes #4692
This commit is contained in:
parent
b7ad04a531
commit
a500ba752e
|
@ -80,7 +80,7 @@ public class RestUpdateSettingsAction extends BaseRestHandler {
|
|||
}
|
||||
}
|
||||
for (Map.Entry<String, String> entry : request.params().entrySet()) {
|
||||
if (entry.getKey().equals("pretty")) {
|
||||
if (entry.getKey().equals("pretty") || entry.getKey().equals("timeout") || entry.getKey().equals("master_timeout")) {
|
||||
continue;
|
||||
}
|
||||
updateSettings.put(entry.getKey(), entry.getValue());
|
||||
|
|
Loading…
Reference in New Issue