diff --git a/server/src/main/java/org/opensearch/action/support/clustermanager/ClusterManagerNodeRequest.java b/server/src/main/java/org/opensearch/action/support/clustermanager/ClusterManagerNodeRequest.java index 8fa2276bc2100..993e821ba9373 100644 --- a/server/src/main/java/org/opensearch/action/support/clustermanager/ClusterManagerNodeRequest.java +++ b/server/src/main/java/org/opensearch/action/support/clustermanager/ClusterManagerNodeRequest.java @@ -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() {