diff options
author | Nicolas Noble <nicolasnoble@users.noreply.github.com> | 2015-12-04 09:11:28 -0800 |
---|---|---|
committer | Nicolas Noble <nicolasnoble@users.noreply.github.com> | 2015-12-04 09:11:28 -0800 |
commit | b67ef24d776fcc2a0b75ca4c85f58be762d0c68d (patch) | |
tree | 9da6884e8ca94d55103560ba54e106aa552df66e | |
parent | c9614d30031c1ed2d6fbcc292d9428c1cc88a517 (diff) | |
parent | 56a363f36c2f15437321fc91258b15234a488eee (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.cc | 2 |
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())); |