Skip to content

Commit

Permalink
even more fixes for Alyssa's comment
Browse files Browse the repository at this point in the history
Signed-off-by: Xin Zhuang <[email protected]>
  • Loading branch information
stevenzzzz committed Aug 6, 2018
1 parent 8f1afd7 commit 84f0e63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/common/upstream/subset_lb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,8 @@ SubsetLoadBalancer::PrioritySubsetImpl::createHostSet(uint32_t priority,
RELEASE_ASSERT(priority < original_priority_set_.hostSetsPerPriority().size(), "");

const HostSetPtr& host_set = original_priority_set_.hostSetsPerPriority()[priority];

UNREFERENCED_PARAMETER(overprovisioning_factor);
ASSERT(overprovisioning_factor == host_set->overprovisioning_factor());
return HostSetImplPtr{new HostSubsetImpl(*host_set, locality_weight_aware_)};
}
Expand Down

0 comments on commit 84f0e63

Please sign in to comment.