summaryrefslogtreecommitdiffstats
path: root/controller-api
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2022-09-15 15:19:44 +0200
committerMartin Polden <mpolden@mpolden.no>2022-09-15 15:32:41 +0200
commiteeaec326ab3babc245bb561f497d541632e18986 (patch)
treeb019014a9777b8bc0787a83f1af056de832ed1c9 /controller-api
parent754926e273acdb87bc43449ffb11f06a40a65ed3 (diff)
Allow one routing method per zone
Diffstat (limited to 'controller-api')
-rw-r--r--controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java
index e0524091c39..fa28840d7ee 100644
--- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java
+++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java
@@ -83,8 +83,8 @@ public interface ZoneRegistry {
/** Returns all OS upgrade policies */
List<UpgradePolicy> osUpgradePolicies();
- /** Returns the routing methods supported by given zone, with the most preferred method appearing first */
- List<RoutingMethod> routingMethods(ZoneId zone);
+ /** Returns the routing method used by given zone */
+ RoutingMethod routingMethod(ZoneId zone);
/** Returns a URL where an informative dashboard can be found. */
URI dashboardUrl();