Fixing the error message.

pull/22402/head
Donna Dionne 5 years ago
parent e5432a73f8
commit 3e19b04abf
  1. 3
      src/core/ext/filters/client_channel/xds/xds_channel.cc

@ -32,7 +32,8 @@ grpc_channel* CreateXdsChannel(const XdsBootstrap& bootstrap,
const grpc_channel_args& args,
grpc_error** error) {
if (!bootstrap.server().channel_creds.empty()) {
*error = GRPC_ERROR_CREATE_FROM_STATIC_STRING("no credential found");
*error = GRPC_ERROR_CREATE_FROM_STATIC_STRING(
"credential specified but gRPC not built with security");
return nullptr;
}
return grpc_insecure_channel_create(bootstrap.server().server_uri.c_str(),

Loading…
Cancel
Save