aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/interop/metrics_client.cc
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-12-03 16:37:27 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-12-03 16:37:27 -0800
commit56a363f36c2f15437321fc91258b15234a488eee (patch)
tree9da6884e8ca94d55103560ba54e106aa552df66e /test/cpp/interop/metrics_client.cc
parentc9614d30031c1ed2d6fbcc292d9428c1cc88a517 (diff)
Fix for when grpc::string is not the same type as FLAGS_...
Diffstat (limited to 'test/cpp/interop/metrics_client.cc')
-rw-r--r--test/cpp/interop/metrics_client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/interop/metrics_client.cc b/test/cpp/interop/metrics_client.cc
index 1bd2a2fd78..2865c855a2 100644
--- a/test/cpp/interop/metrics_client.cc
+++ b/test/cpp/interop/metrics_client.cc
@@ -50,7 +50,7 @@ using grpc::testing::GaugeResponse;
using grpc::testing::MetricsService;
using grpc::testing::MetricsServiceImpl;
-void PrintMetrics(grpc::string& server_address) {
+void PrintMetrics(const grpc::string& server_address) {
gpr_log(GPR_INFO, "creating a channel to %s", server_address.c_str());
std::shared_ptr<grpc::Channel> channel(
grpc::CreateChannel(server_address, grpc::InsecureChannelCredentials()));