Skip to content

Commit

Permalink
[xDS] add auto_host_rewrite to human-readable form of route config (g…
Browse files Browse the repository at this point in the history
…rpc#38119)

Missed this in grpc#37087.

Closes grpc#38119

COPYBARA_INTEGRATE_REVIEW=grpc#38119 from markdroth:xds_route_to_string_includes_auto_host_rewrite 64e7535
PiperOrigin-RevId: 696537855
  • Loading branch information
markdroth authored and copybara-github committed Nov 14, 2024
1 parent d0a7c33 commit 35e1bfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/xds/grpc/xds_route_config.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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, ", "), "}");
}

Expand Down

0 comments on commit 35e1bfa

Please sign in to comment.