Skip to content

Commit

Permalink
Rename masterNodeTimeout to clusterManagerNodeTimeout in a parameter …
Browse files Browse the repository at this point in the history
…for setting name

Signed-off-by: Tianli Feng <[email protected]>
  • Loading branch information
Tianli Feng committed Jun 17, 2022
1 parent 16c9ba8 commit 5116ed0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ public final Request clusterManagerNodeTimeout(TimeValue timeout) {
* A timeout value in case the cluster-manager has not been discovered yet or disconnected.
*/
public final Request clusterManagerNodeTimeout(String timeout) {
return clusterManagerNodeTimeout(TimeValue.parseTimeValue(timeout, null, getClass().getSimpleName() + ".masterNodeTimeout"));
return clusterManagerNodeTimeout(
TimeValue.parseTimeValue(timeout, null, getClass().getSimpleName() + ".clusterManagerNodeTimeout")
);
}

public final TimeValue clusterManagerNodeTimeout() {
Expand Down

0 comments on commit 5116ed0

Please sign in to comment.