aboutsummaryrefslogtreecommitdiffstats
path: root/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/ContentCluster.java
diff options
context:
space:
mode:
authorHarald Musum <musum@yahooinc.com>2023-07-09 19:51:49 +0200
committerHarald Musum <musum@yahooinc.com>2023-07-09 19:51:49 +0200
commit181513a91bdee2661450248a7a508f8b3230d8db (patch)
tree0e9dbdd00e2408856e1eedee6a8855c5bb3229a3 /clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/ContentCluster.java
parentc6ef6d07bb72038d85cb43a89187545e9757c5de (diff)
Renames and minor refactorings, no funcational changes
Diffstat (limited to 'clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/ContentCluster.java')
-rw-r--r--clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/ContentCluster.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/ContentCluster.java b/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/ContentCluster.java
index 2e8e2707166..19c4e4b1e89 100644
--- a/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/ContentCluster.java
+++ b/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/ContentCluster.java
@@ -17,6 +17,7 @@ import java.util.Objects;
import java.util.TreeMap;
import static com.yahoo.vdslib.state.NodeState.ORCHESTRATOR_RESERVED_DESCRIPTION;
+import static com.yahoo.vespa.clustercontroller.core.NodeStateChangeChecker.Result;
public class ContentCluster {
@@ -129,7 +130,7 @@ public class ContentCluster {
* @param newState state wanted to be set
* @param inMoratorium whether the CC is in moratorium
*/
- public NodeStateChangeChecker.Result calculateEffectOfNewState(
+ public Result calculateEffectOfNewState(
Node node, ClusterState clusterState, SetUnitStateRequest.Condition condition,
NodeState oldState, NodeState newState, boolean inMoratorium) {