Skip to content

Commit

Permalink
core: [outlier detection] Get addresses from subchannel args. (#9468)
Browse files Browse the repository at this point in the history
  • Loading branch information
temawi committed Aug 22, 2022
1 parent f5670b3 commit fbefdf5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -206,7 +206,7 @@ public Subchannel createSubchannel(CreateSubchannelArgs args) {

// If the subchannel is associated with a single address that is also already in the map
// the subchannel will be added to the map and be included in outlier detection.
List<EquivalentAddressGroup> addressGroups = subchannel.getAllAddresses();
List<EquivalentAddressGroup> addressGroups = args.getAddresses();
if (hasSingleAddress(addressGroups)
&& trackerMap.containsKey(addressGroups.get(0).getAddresses().get(0))) {
AddressTracker tracker = trackerMap.get(addressGroups.get(0).getAddresses().get(0));
Expand Down

0 comments on commit fbefdf5

Please sign in to comment.