[cleanup] Remove unnecessary string conversion (#33123)

pull/33144/head
AJ Heller 2 years ago committed by GitHub
parent 6818c8740f
commit 7c98b91091
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/core/ext/filters/client_channel/client_channel.cc

@ -1496,8 +1496,8 @@ void ClientChannel::CreateResolverLocked() {
uri_to_resolve_.c_str());
}
resolver_ = CoreConfiguration::Get().resolver_registry().CreateResolver(
uri_to_resolve_.c_str(), channel_args_, interested_parties_,
work_serializer_, std::make_unique<ResolverResultHandler>(this));
uri_to_resolve_, channel_args_, interested_parties_, work_serializer_,
std::make_unique<ResolverResultHandler>(this));
// Since the validity of the args was checked when the channel was created,
// CreateResolver() must return a non-null result.
GPR_ASSERT(resolver_ != nullptr);

Loading…
Cancel
Save