[xDS] add auto_host_rewrite to human-readable form of route config

pull/38119/head
Mark D. Roth 2 weeks ago
parent 602c3ac545
commit 64e75359a5
  1. 1
      src/core/xds/grpc/xds_route_config.cc

@ -199,6 +199,7 @@ std::string XdsRouteConfigResource::Route::RouteAction::ToString() const {
if (max_stream_duration.has_value()) {
contents.push_back(max_stream_duration->ToString());
}
if (auto_host_rewrite) contents.push_back("auto_host_rewrite=true");
return absl::StrCat("{", absl::StrJoin(contents, ", "), "}");
}

Loading…
Cancel
Save