summaryrefslogtreecommitdiffstats
path: root/controller-api
diff options
context:
space:
mode:
authorJon Marius Venstad <jvenstad@yahoo-inc.com>2018-10-24 11:08:27 +0200
committerJon Marius Venstad <jvenstad@yahoo-inc.com>2018-10-24 11:08:27 +0200
commitf262ab31b25bb240ffa7d4b54034d13f1fcc7a0e (patch)
tree40dc616ed03587d36dc473103023d9d444a928c2 /controller-api
parent0de9e3aa1150edcad532a6237d7cc6d2c69d1f51 (diff)
Catch the right exception
Diffstat (limited to 'controller-api')
-rw-r--r--controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java
index 15ee3724b6c..1dff20c77be 100644
--- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java
+++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java
@@ -29,11 +29,11 @@ public interface ConfigServer {
PreparedApplication deploy(DeploymentId deployment, DeployOptions deployOptions, Set<String> rotationCnames, Set<String> rotationNames, byte[] content);
- void restart(DeploymentId deployment, Optional<Hostname> hostname) throws NoInstanceException;
+ void restart(DeploymentId deployment, Optional<Hostname> hostname);
void deactivate(DeploymentId deployment) throws NoInstanceException;
- boolean isSuspended(DeploymentId deployment) throws NoInstanceException;
+ boolean isSuspended(DeploymentId deployment);
ApplicationView getApplicationView(String tenantName, String applicationName, String instanceName, String environment, String region);