aboutsummaryrefslogtreecommitdiffstats
path: root/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/routing/context/DeploymentRoutingContext.java
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2022-02-15 11:20:15 +0100
committerMartin Polden <mpolden@mpolden.no>2022-02-15 11:20:15 +0100
commitc982c5ddfc7aa8c76868a7cd6041482cde8cb189 (patch)
treea3ad36bbb3d24c6b992028c15fe4539f2dcea810 /controller-server/src/main/java/com/yahoo/vespa/hosted/controller/routing/context/DeploymentRoutingContext.java
parentd29d335828d98e248f1cb593882d2d4f08fe702c (diff)
Remove use of shared routing method in controller
Diffstat (limited to 'controller-server/src/main/java/com/yahoo/vespa/hosted/controller/routing/context/DeploymentRoutingContext.java')
-rw-r--r--controller-server/src/main/java/com/yahoo/vespa/hosted/controller/routing/context/DeploymentRoutingContext.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/routing/context/DeploymentRoutingContext.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/routing/context/DeploymentRoutingContext.java
index e5eb1382ccf..1f205d6e577 100644
--- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/routing/context/DeploymentRoutingContext.java
+++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/routing/context/DeploymentRoutingContext.java
@@ -64,17 +64,14 @@ public abstract class DeploymentRoutingContext implements RoutingContext {
return controller.policies().read(deployment).of(id);
}
- /**
- * Extension of a {@link DeploymentRoutingContext} for deployments using either {@link RoutingMethod#shared} or
- * {@link RoutingMethod#sharedLayer4} routing.
- */
+ /** Extension of a {@link DeploymentRoutingContext} for deployments using {@link RoutingMethod#sharedLayer4} routing */
public static class SharedDeploymentRoutingContext extends DeploymentRoutingContext {
private final Clock clock;
private final ConfigServer configServer;
public SharedDeploymentRoutingContext(DeploymentId deployment, RoutingController controller, ConfigServer configServer, Clock clock) {
- super(deployment, RoutingMethod.shared, controller);
+ super(deployment, RoutingMethod.sharedLayer4, controller);
this.clock = Objects.requireNonNull(clock);
this.configServer = Objects.requireNonNull(configServer);
}