aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/distributed_runtime/rpc/grpc_channel.h
diff options
context:
space:
mode:
authorGravatar Brennan Saeta <saeta@google.com>2017-03-15 08:43:19 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-03-15 10:04:25 -0700
commit46b05471cc78dc4cd6765861a966e6cb72191c81 (patch)
tree44d1663bc77ebb97cc6c4244e624f78dee452476 /tensorflow/core/distributed_runtime/rpc/grpc_channel.h
parent490f60673969fe71e4c4e7e240cc56b68d0c0742 (diff)
Mark ListWorkers as const
Change: 150202536
Diffstat (limited to 'tensorflow/core/distributed_runtime/rpc/grpc_channel.h')
-rw-r--r--tensorflow/core/distributed_runtime/rpc/grpc_channel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/distributed_runtime/rpc/grpc_channel.h b/tensorflow/core/distributed_runtime/rpc/grpc_channel.h
index 0c0779440e..8d97523a5b 100644
--- a/tensorflow/core/distributed_runtime/rpc/grpc_channel.h
+++ b/tensorflow/core/distributed_runtime/rpc/grpc_channel.h
@@ -65,7 +65,7 @@ class GrpcChannelCache {
// was created to handle. Worker names are in the format
// /job:<job identifier>/task:<task id>
// e.g. /job:mnist/task:2
- virtual void ListWorkers(std::vector<string>* workers) = 0;
+ virtual void ListWorkers(std::vector<string>* workers) const = 0;
// If found, returns a gRPC channel that is connected to the remote
// worker named by 'target'. 'target' is of the following