File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -500,15 +500,15 @@ export class OutlierDetectionLoadBalancer implements LoadBalancer {
500
500
}
501
501
trace ( 'Running failure percentage check. threshold=' + failurePercentageConfig . threshold + ' request volume threshold=' + failurePercentageConfig . request_volume ) ;
502
502
// Step 1
503
- let addresesWithTargetVolume = 0 ;
503
+ let addressesWithTargetVolume = 0 ;
504
504
for ( const mapEntry of this . addressMap . values ( ) ) {
505
505
const successes = mapEntry . counter . getLastSuccesses ( ) ;
506
506
const failures = mapEntry . counter . getLastFailures ( ) ;
507
507
if ( successes + failures >= failurePercentageConfig . request_volume ) {
508
- addresesWithTargetVolume += 1 ;
508
+ addressesWithTargetVolume += 1 ;
509
509
}
510
510
}
511
- if ( addresesWithTargetVolume < failurePercentageConfig . minimum_hosts ) {
511
+ if ( addressesWithTargetVolume < failurePercentageConfig . minimum_hosts ) {
512
512
return ;
513
513
}
514
514
You can’t perform that action at this time.
0 commit comments