summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2020-10-02 14:14:15 +0200
committerJon Bratseth <bratseth@gmail.com>2020-10-02 14:14:15 +0200
commit46c7dfbd75cbbdd71c710116dc6025040dc97d84 (patch)
treece07f49daaacb0e2e75dfdf5938278272d1d4b2d
parentaa086b71fef26b5d238be1401669e44c514db73d (diff)
Update comment
-rw-r--r--node-repository/src/main/java/com/yahoo/vespa/hosted/provision/provisioning/NodePrioritizer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/provisioning/NodePrioritizer.java b/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/provisioning/NodePrioritizer.java
index 85c268c911d..b6b05949082 100644
--- a/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/provisioning/NodePrioritizer.java
+++ b/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/provisioning/NodePrioritizer.java
@@ -179,8 +179,8 @@ public class NodePrioritizer {
}
/**
- * Even though a node is allocated to a parent, we may regret it and not offer it to the application
- * now, if the node is currently not active. E.g if we want to retire the host.
+ * We may regret that a non-active node is allocated to a host and not offer it to the application
+ * now, e.g if we want to retire the host.
*
* @return true if we still want to allocate the given node to its parent
*/