aboutsummaryrefslogtreecommitdiffstats
path: root/service-monitor
diff options
context:
space:
mode:
authorHarald Musum <musum@verizonmedia.com>2020-03-16 13:36:29 +0100
committerHarald Musum <musum@verizonmedia.com>2020-03-16 13:36:29 +0100
commitb9d9ab2589d1e769ca80bc2c8834f3ec1b7f7f94 (patch)
tree2cc6816b8290062170a9553f4ad71f0de1768f82 /service-monitor
parent93efe863cd3a00d00db26433f1b75b4130511dbb (diff)
Go back to using cluster spec without docker image repo for infra apps
Diffstat (limited to 'service-monitor')
-rw-r--r--service-monitor/src/main/java/com/yahoo/vespa/service/duper/InfraApplication.java4
-rw-r--r--service-monitor/src/main/java/com/yahoo/vespa/service/monitor/InfraApplicationApi.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/service-monitor/src/main/java/com/yahoo/vespa/service/duper/InfraApplication.java b/service-monitor/src/main/java/com/yahoo/vespa/service/duper/InfraApplication.java
index fa5c634fdac..64cf4f6f26f 100644
--- a/service-monitor/src/main/java/com/yahoo/vespa/service/duper/InfraApplication.java
+++ b/service-monitor/src/main/java/com/yahoo/vespa/service/duper/InfraApplication.java
@@ -74,8 +74,8 @@ public abstract class InfraApplication implements InfraApplicationApi {
}
@Override
- public ClusterSpec getClusterSpecWithVersion(Version version, Optional<String> dockerImageRepo) {
- return ClusterSpec.request(clusterSpecType, clusterSpecId, version, true, Optional.empty(), dockerImageRepo);
+ public ClusterSpec getClusterSpecWithVersion(Version version) {
+ return ClusterSpec.request(clusterSpecType, clusterSpecId, version, true, Optional.empty(), Optional.empty());
}
public ClusterSpec.Type getClusterSpecType() {
diff --git a/service-monitor/src/main/java/com/yahoo/vespa/service/monitor/InfraApplicationApi.java b/service-monitor/src/main/java/com/yahoo/vespa/service/monitor/InfraApplicationApi.java
index 98ba682280f..b4b61682a33 100644
--- a/service-monitor/src/main/java/com/yahoo/vespa/service/monitor/InfraApplicationApi.java
+++ b/service-monitor/src/main/java/com/yahoo/vespa/service/monitor/InfraApplicationApi.java
@@ -16,5 +16,5 @@ import java.util.Optional;
public interface InfraApplicationApi {
ApplicationId getApplicationId();
Capacity getCapacity();
- ClusterSpec getClusterSpecWithVersion(Version version, Optional<String> dockerImageRepo);
+ ClusterSpec getClusterSpecWithVersion(Version version);
}