aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Nicolas Noble <nicolasnoble@users.noreply.github.com>2015-12-04 09:11:28 -0800
committerGravatar Nicolas Noble <nicolasnoble@users.noreply.github.com>2015-12-04 09:11:28 -0800
commitb67ef24d776fcc2a0b75ca4c85f58be762d0c68d (patch)
tree9da6884e8ca94d55103560ba54e106aa552df66e
parentc9614d30031c1ed2d6fbcc292d9428c1cc88a517 (diff)
parent56a363f36c2f15437321fc91258b15234a488eee (diff)
Merge pull request #4280 from ctiller/import-sadness
Fix for when grpc::string is not the same type as FLAGS_...
-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()));