summaryrefslogtreecommitdiffstats
path: root/controller-server
diff options
context:
space:
mode:
authorJon Marius Venstad <jonmv@users.noreply.github.com>2020-01-26 10:18:08 +0100
committerGitHub <noreply@github.com>2020-01-26 10:18:08 +0100
commit79512110ade76271a542d28dfd767876bb9a9130 (patch)
treeac095326bd812e1113b8d2b06768a9bd7227754a /controller-server
parent3bf181256ef24570f14c977ec37d23b754a7df53 (diff)
Accept old summary format in run
Diffstat (limited to 'controller-server')
-rw-r--r--controller-server/src/main/java/com/yahoo/vespa/hosted/controller/persistence/RunSerializer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/persistence/RunSerializer.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/persistence/RunSerializer.java
index a4b0df31883..03f9bcd84e6 100644
--- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/persistence/RunSerializer.java
+++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/persistence/RunSerializer.java
@@ -177,7 +177,7 @@ class RunSerializer {
// Don't change this — introduce a separate array instead.
private Optional<ConvergenceSummary> convergenceSummaryFrom(Inspector summaryArray) {
- if ( ! summaryArray.valid())
+ if ( ! summaryArray.valid() || summaryArray.entries() == 11) // TODO jonmv: fix
return Optional.empty();
if (summaryArray.entries() != 12)