aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/debug
diff options
context:
space:
mode:
authorGravatar Shanqing Cai <cais@google.com>2017-06-27 13:40:03 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-06-27 13:45:07 -0700
commit59ae0c0f9ac654bd668fb633feef3dbe26bae8ee (patch)
tree17c08846940a9d5b84ba2d759babbadb8f51d138 /tensorflow/core/debug
parent00feb62ef5f44c8d3dd32199e552eb5de8049e59 (diff)
tfdbg: revert dns:/// prefix in gRPC mode
PiperOrigin-RevId: 160319348
Diffstat (limited to 'tensorflow/core/debug')
-rw-r--r--tensorflow/core/debug/debug_io_utils.cc5
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)))) {