Skip to content

Commit

Permalink
utility: fix broken URL in checkTransportVersion() utility method (#2…
Browse files Browse the repository at this point in the history
…4166)

Signed-off-by: Rohit Agrawal <[email protected]>
  • Loading branch information
agrawroh authored Nov 23, 2022
1 parent bfa8b05 commit 389bbd8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions source/common/config/utility.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,13 +208,12 @@ class Utility {
const auto transport_api_version = api_config_source.transport_api_version();
ASSERT_IS_MAIN_OR_TEST_THREAD();
if (transport_api_version != envoy::config::core::v3::ApiVersion::V3) {
const ApiVersion version = ApiVersionInfo::apiVersion();
const std::string& warning = fmt::format(
"V2 (and AUTO) xDS transport protocol versions are deprecated in {}. "
"The v2 xDS major version has been removed and is no longer supported. "
"You may be missing explicit V3 configuration of the transport API version, "
"see the advice in https://www.envoyproxy.io/docs/envoy/v{}.{}.{}/faq/api/envoy_v3.",
api_config_source.DebugString(), version.major, version.minor, version.patch);
"see the advice in https://www.envoyproxy.io/docs/envoy/latest/faq/api/envoy_v3.",
api_config_source.DebugString());
ENVOY_LOG_MISC(warn, warning);
throw DeprecatedMajorVersionException(warning);
}
Expand Down

0 comments on commit 389bbd8

Please sign in to comment.