Variable was renamed in different PR
@@ -68,7 +68,7 @@ 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()
+ return matching(id -> instances.get(id).jobSteps().values().stream()
.anyMatch(job -> job.isDeclared() && job.job().get().application().equals(id)));
}
