diff options
author | Jon Bratseth <bratseth@gmail.com> | 2022-10-29 10:59:59 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2022-10-29 10:59:59 +0200 |
commit | 619fe6be705974f19780057ca59aa081929737b9 (patch) | |
tree | eedf07af1fd10c507199454baa0afe736f305d95 /node-repository/src/main/java/com/yahoo/vespa/hosted/provision/autoscale/Autoscaler.java | |
parent | 9494f4ca0c8cfe853a60e73c5f79340080a5e972 (diff) |
Revert "Merge pull request #24645 from vespa-engine/revert-24631-bratseth/fully-specified"
This reverts commit e4d472469b151b6279b9f93bf535b7486bb717f6, reversing
changes made to 83905f5559e99a08ace73484fae34e36369942cb.
Diffstat (limited to 'node-repository/src/main/java/com/yahoo/vespa/hosted/provision/autoscale/Autoscaler.java')
-rw-r--r-- | node-repository/src/main/java/com/yahoo/vespa/hosted/provision/autoscale/Autoscaler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/autoscale/Autoscaler.java b/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/autoscale/Autoscaler.java index 4d50250e61a..689b5a9a950 100644 --- a/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/autoscale/Autoscaler.java +++ b/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/autoscale/Autoscaler.java @@ -68,7 +68,7 @@ public class Autoscaler { if ( ! clusterIsStable(clusterNodes, nodeRepository)) return Advice.none(Status.waiting, "Cluster change in progress"); - var currentAllocation = new AllocatableClusterResources(clusterNodes.asList(), nodeRepository); + var currentAllocation = new AllocatableClusterResources(clusterNodes, nodeRepository); Optional<AllocatableClusterResources> bestAllocation = allocationOptimizer.findBestAllocation(clusterModel.loadAdjustment(), currentAllocation, clusterModel, limits); if (bestAllocation.isEmpty()) |