summaryrefslogtreecommitdiffstats
path: root/controller-server
diff options
context:
space:
mode:
authorJon Marius Venstad <jvenstad@yahoo-inc.com>2018-10-31 14:27:02 +0100
committerJon Marius Venstad <jvenstad@yahoo-inc.com>2018-10-31 14:27:02 +0100
commit0ce07f8026bd34044d6d5fa7cc0d4a9145127cba (patch)
treee8f17df963022a933d8292a36dee6942148ffddf /controller-server
parent0655e947b38898c54a840287943a0b1612e79d0a (diff)
Count applications with outstanding changes as deploying (they have something to test)
Diffstat (limited to 'controller-server')
-rw-r--r--controller-server/src/main/java/com/yahoo/vespa/hosted/controller/application/ApplicationList.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/application/ApplicationList.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/application/ApplicationList.java
index c7e7165cb91..2ee0ee960a2 100644
--- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/application/ApplicationList.java
+++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/application/ApplicationList.java
@@ -77,9 +77,9 @@ public class ApplicationList {
return notUpgradingTo(version.get());
}
- /** Returns the subset of applications which are currently deploying a change */
+ /** Returns the subset of applications which have unfinished changes */
public ApplicationList deploying() {
- return listOf(list.stream().filter(application -> application.change().isPresent()));
+ return listOf(list.stream().filter(application -> application.change().isPresent() || application.outstandingChange().isPresent()));
}
/** Returns the subset of applications which are currently really not deploying a change */