diff options
author | Valerij Fredriksen <valerijf@yahooinc.com> | 2023-01-09 09:16:22 +0100 |
---|---|---|
committer | Valerij Fredriksen <valerijf@yahooinc.com> | 2023-01-09 11:03:04 +0100 |
commit | 0b6b0a0fac5be32663a2e3b8d34633d9e6097212 (patch) | |
tree | d14f45299896cb8243c10c6b97d9bb2369cc966f /controller-api | |
parent | 6bd735e4b444bbcffe54778881f17e194ac47d79 (diff) |
Revert "Add reindexing progress to deployment metrics"
This reverts commit 4a49d2e2
Diffstat (limited to 'controller-api')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/application/v4/model/ClusterMetrics.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/application/v4/model/ClusterMetrics.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/application/v4/model/ClusterMetrics.java index d702b6b09f2..3759a327c3d 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/application/v4/model/ClusterMetrics.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/application/v4/model/ClusterMetrics.java @@ -23,13 +23,11 @@ public class ClusterMetrics { private final String clusterId; private final String clusterType; private final Map<String, Double> metrics; - private final Map<String, Double> reindexingProgress; - public ClusterMetrics(String clusterId, String clusterType, Map<String, Double> metrics, Map<String, Double> reindexingProgress) { + public ClusterMetrics(String clusterId, String clusterType, Map<String, Double> metrics) { this.clusterId = clusterId; this.clusterType = clusterType; this.metrics = Map.copyOf(metrics); - this.reindexingProgress = Map.copyOf(reindexingProgress); } public String getClusterId() { @@ -75,8 +73,4 @@ public class ClusterMetrics { public Optional<Double> diskFeedBlockLimit() { return Optional.ofNullable(metrics.get(DISK_FEED_BLOCK_LIMIT)); } - - public Map<String, Double> reindexingProgress() { - return reindexingProgress; - } } |