expose server_addr

This commit is contained in:
Philipp Moritz
2016-02-10 13:24:56 -08:00
parent df7b3e4cf1
commit fbcc3e0f0d
+1 -1
View File
@@ -66,7 +66,7 @@ void start_server() {
}
void* orch_create_context(const char* server_addr) {
Client* client = new Client(grpc::CreateChannel("localhost:50052", grpc::InsecureChannelCredentials()));
Client* client = new Client(grpc::CreateChannel(server_addr, grpc::InsecureChannelCredentials()));
client->RegisterWorker();
return client;
}