pull/37156/head
Mark D. Roth 5 months ago
parent e58fc96987
commit 2e813834d0
  1. 4
      test/cpp/end2end/xds/xds_end2end_test_lib.cc

@ -577,7 +577,7 @@ std::shared_ptr<Channel> XdsEnd2endTest::CreateChannel(
if (credentials == nullptr) {
credentials = std::make_shared<FakeTransportSecurityChannelCredentials>();
}
return grpc::CreateCustomChannel(uri, std::move(credentials), *args);
return grpc::CreateCustomChannel(uri, credentials, *args);
}
Status XdsEnd2endTest::SendRpc(
@ -858,7 +858,7 @@ XdsEnd2endTest::CreateXdsChannelCredentials() {
options.set_verify_server_certs(true);
options.set_check_call_host(false);
auto tls_creds = grpc::experimental::TlsCredentials(options);
return XdsCredentials(std::move(tls_creds));
return XdsCredentials(tls_creds);
}
std::shared_ptr<ServerCredentials>

Loading…
Cancel
Save