diff options
author | Jon Marius Venstad <venstad@gmail.com> | 2020-05-19 10:12:25 +0200 |
---|---|---|
committer | Jon Marius Venstad <venstad@gmail.com> | 2020-05-19 10:12:25 +0200 |
commit | 4c279a3bc4a2266b87feb338cac3f0e493450ec3 (patch) | |
tree | dc4c2de1d099037c19893e0e62704361ad6c09c0 /controller-server | |
parent | 8d608fd9754dc12b6460ec3a5a2955085b4000b9 (diff) |
Variable was renamed in different PR
Diffstat (limited to 'controller-server')
-rw-r--r-- | controller-server/src/main/java/com/yahoo/vespa/hosted/controller/application/InstanceList.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/application/InstanceList.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/application/InstanceList.java index 2a1874140a8..c6046751696 100644 --- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/application/InstanceList.java +++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/application/InstanceList.java @@ -68,8 +68,8 @@ public class InstanceList extends AbstractFilteringList<ApplicationId, InstanceL /** Returns the subset of instances which contain declared jobs */ public InstanceList withDeclaredJobs() { - return matching(id -> statuses.get(id).jobSteps().values().stream() - .anyMatch(job -> job.isDeclared() && job.job().get().application().equals(id))); + return matching(id -> instances.get(id).jobSteps().values().stream() + .anyMatch(job -> job.isDeclared() && job.job().get().application().equals(id))); } /** Returns the subset of instances which have at least one deployment on a lower version than the given one, or which have no production deployments */ |