Remove objstore_stub_ (#176)

This commit is contained in:
mehrdadn
2016-06-27 13:16:35 -07:00
committed by Philipp Moritz
parent 23c0b1828f
commit 27bd859925
2 changed files with 1 additions and 3 deletions
+1 -2
View File
@@ -21,8 +21,7 @@ Status WorkerServiceImpl::ExecuteTask(ServerContext* context, const ExecuteTaskR
Worker::Worker(const std::string& worker_address, std::shared_ptr<Channel> scheduler_channel, std::shared_ptr<Channel> objstore_channel)
: worker_address_(worker_address),
scheduler_stub_(Scheduler::NewStub(scheduler_channel)),
objstore_stub_(ObjStore::NewStub(objstore_channel)) {
scheduler_stub_(Scheduler::NewStub(scheduler_channel)) {
receive_queue_.connect(worker_address_, true);
connected_ = true;
}