diff options
author | Martin Polden <mpolden@mpolden.no> | 2023-09-04 15:34:57 +0200 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2023-09-04 15:34:57 +0200 |
commit | cf194a9ca28a2d57fa24f3cb20981120fef0e63c (patch) | |
tree | 701db7d81db7bfbdd979bdbe5efa55de4fc7775f /config-model-api | |
parent | 82a7e5c492cef0ebefaf54b9bdf95eb531bbad44 (diff) |
Spelling
Diffstat (limited to 'config-model-api')
-rw-r--r-- | config-model-api/src/main/java/com/yahoo/config/model/api/ApplicationClusterEndpoint.java | 6 |
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); } } |