diff options
author | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2018-10-24 11:08:27 +0200 |
---|---|---|
committer | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2018-10-24 11:08:27 +0200 |
commit | f262ab31b25bb240ffa7d4b54034d13f1fcc7a0e (patch) | |
tree | 40dc616ed03587d36dc473103023d9d444a928c2 /controller-api | |
parent | 0de9e3aa1150edcad532a6237d7cc6d2c69d1f51 (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.java | 4 |
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); |