diff options
author | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2018-10-31 14:27:02 +0100 |
---|---|---|
committer | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2018-10-31 14:27:02 +0100 |
commit | 0ce07f8026bd34044d6d5fa7cc0d4a9145127cba (patch) | |
tree | e8f17df963022a933d8292a36dee6942148ffddf /controller-server | |
parent | 0655e947b38898c54a840287943a0b1612e79d0a (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.java | 4 |
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 */ |