Fix cut-and-paste error and change test to catch this kind of bug.

pull/24162/head
Mark D. Roth 4 years ago
parent 7862366047
commit 4bb00c25c0
  1. 2
      src/core/ext/xds/xds_client.cc
  2. 534
      test/cpp/end2end/xds_end2end_test.cc

@ -969,7 +969,7 @@ void XdsClient::ChannelState::AdsCallState::AcceptRdsUpdate(
" resources",
xds_client(), rds_update_map.size());
}
auto& rds_state = state_map_[XdsApi::kLdsTypeUrl];
auto& rds_state = state_map_[XdsApi::kRdsTypeUrl];
for (auto& p : rds_update_map) {
const std::string& route_config_name = p.first;
XdsApi::RdsUpdate& rds_update = p.second;

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save