diff options
author | Harald Musum <musum@yahooinc.com> | 2022-05-10 14:13:23 +0200 |
---|---|---|
committer | Harald Musum <musum@yahooinc.com> | 2022-05-10 14:13:23 +0200 |
commit | 11b07429bbd90936870d25eeb1c53d414f6083f6 (patch) | |
tree | 82be6f3c0e66f429165d7b2db2f342fb4b78cb4e /controller-server | |
parent | 914a8b991d27c2d21099dff59a42826a0234d3fb (diff) |
Remove unused 'shared' routing method
Diffstat (limited to 'controller-server')
2 files changed, 0 insertions, 2 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/restapi/application/ApplicationApiHandler.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/restapi/application/ApplicationApiHandler.java index e50f81919df..91b76ac8d05 100644 --- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/restapi/application/ApplicationApiHandler.java +++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/restapi/application/ApplicationApiHandler.java @@ -2805,7 +2805,6 @@ public class ApplicationApiHandler extends AuditLoggingRequestHandler { private static String routingMethodString(RoutingMethod method) { switch (method) { case exclusive: return "exclusive"; - case shared: return "shared"; case sharedLayer4: return "sharedLayer4"; } throw new IllegalArgumentException("Unknown routing method " + method); diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/restapi/routing/RoutingApiHandler.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/restapi/routing/RoutingApiHandler.java index 7b66e60b426..082b11af351 100644 --- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/restapi/routing/RoutingApiHandler.java +++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/restapi/routing/RoutingApiHandler.java @@ -369,7 +369,6 @@ public class RoutingApiHandler extends AuditLoggingRequestHandler { private static String asString(RoutingMethod method) { switch (method) { - case shared: return "shared"; case exclusive: return "exclusive"; case sharedLayer4: return "sharedLayer4"; default: return "unknown"; |