Skip to content

Commit 8664c83

Browse files
committed
Fix spelling
1 parent f15efb6 commit 8664c83

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/grpc-js/src/load-balancer-outlier-detection.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -500,15 +500,15 @@ export class OutlierDetectionLoadBalancer implements LoadBalancer {
500500
}
501501
trace('Running failure percentage check. threshold=' + failurePercentageConfig.threshold + ' request volume threshold=' + failurePercentageConfig.request_volume);
502502
// Step 1
503-
let addresesWithTargetVolume = 0;
503+
let addressesWithTargetVolume = 0;
504504
for (const mapEntry of this.addressMap.values()) {
505505
const successes = mapEntry.counter.getLastSuccesses();
506506
const failures = mapEntry.counter.getLastFailures();
507507
if (successes + failures >= failurePercentageConfig.request_volume) {
508-
addresesWithTargetVolume += 1;
508+
addressesWithTargetVolume += 1;
509509
}
510510
}
511-
if (addresesWithTargetVolume < failurePercentageConfig.minimum_hosts) {
511+
if (addressesWithTargetVolume < failurePercentageConfig.minimum_hosts) {
512512
return;
513513
}
514514

0 commit comments

Comments
 (0)