Skip to content

Commit

Permalink
fix build break (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanDzhabarov authored and mattklein123 committed Oct 31, 2016
1 parent d4d2393 commit 6bb5998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/common/upstream/load_balancer_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const std::vector<HostPtr>& LoadBalancerBase::tryChooseLocalZoneHosts() {
size_t number_of_zones = host_set_.healthyHostsPerZone().size();

ASSERT(number_of_zones >= 2U);
ASSERT(local_host_set_->healthyHostsPerZone().size == host_set_.healthyHostsPerZone().size());
ASSERT(local_host_set_->healthyHostsPerZone().size() == host_set_.healthyHostsPerZone().size());

uint64_t local_percentage[number_of_zones];
calculateZonePercentage(local_host_set_->healthyHostsPerZone(), local_percentage);
Expand Down

0 comments on commit 6bb5998

Please sign in to comment.