summaryrefslogtreecommitdiffstats
path: root/config-model-api
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2023-09-04 15:34:57 +0200
committerMartin Polden <mpolden@mpolden.no>2023-09-04 15:34:57 +0200
commitcf194a9ca28a2d57fa24f3cb20981120fef0e63c (patch)
tree701db7d81db7bfbdd979bdbe5efa55de4fc7775f /config-model-api
parent82a7e5c492cef0ebefaf54b9bdf95eb531bbad44 (diff)
Spelling
Diffstat (limited to 'config-model-api')
-rw-r--r--config-model-api/src/main/java/com/yahoo/config/model/api/ApplicationClusterEndpoint.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/config-model-api/src/main/java/com/yahoo/config/model/api/ApplicationClusterEndpoint.java b/config-model-api/src/main/java/com/yahoo/config/model/api/ApplicationClusterEndpoint.java
index e70b0f1a599..55163d0f962 100644
--- a/config-model-api/src/main/java/com/yahoo/config/model/api/ApplicationClusterEndpoint.java
+++ b/config-model-api/src/main/java/com/yahoo/config/model/api/ApplicationClusterEndpoint.java
@@ -93,7 +93,7 @@ public class ApplicationClusterEndpoint {
private DnsName dnsName;
private Scope scope;
private RoutingMethod routingMethod;
- private int weigth = 1;
+ private int weight = 1;
private List<String> hosts;
private String clusterId;
private AuthMethod authMethod;
@@ -129,7 +129,7 @@ public class ApplicationClusterEndpoint {
}
public Builder weight(int weigth) {
- this.weigth = weigth;
+ this.weight = weigth;
return this;
}
@@ -149,7 +149,7 @@ public class ApplicationClusterEndpoint {
}
public ApplicationClusterEndpoint build() {
- return new ApplicationClusterEndpoint(dnsName, scope, routingMethod, weigth, hosts, clusterId, authMethod);
+ return new ApplicationClusterEndpoint(dnsName, scope, routingMethod, weight, hosts, clusterId, authMethod);
}
}