diff options
-rw-r--r-- | tensorflow/core/debug/debug_io_utils.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tensorflow/core/debug/debug_io_utils.cc b/tensorflow/core/debug/debug_io_utils.cc index 9b2e5583aa..69fc367789 100644 --- a/tensorflow/core/debug/debug_io_utils.cc +++ b/tensorflow/core/debug/debug_io_utils.cc @@ -581,9 +581,8 @@ Status DebugGrpcChannel::Connect(const int64 timeout_micros) { args.SetInt(GRPC_ARG_MAX_MESSAGE_LENGTH, std::numeric_limits<int32>::max()); // Avoid problems where default reconnect backoff is too long (e.g., 20 s). args.SetInt("grpc.testing.fixed_reconnect_backoff_ms", 1000); - channel_ = - ::grpc::CreateCustomChannel("dns:///" + server_stream_addr_, - ::grpc::InsecureChannelCredentials(), args); + channel_ = ::grpc::CreateCustomChannel( + server_stream_addr_, ::grpc::InsecureChannelCredentials(), args); if (!channel_->WaitForConnected( gpr_time_add(gpr_now(GPR_CLOCK_REALTIME), gpr_time_from_micros(timeout_micros, GPR_TIMESPAN)))) { |