fix naming Pull -> Request

This commit is contained in:
Robert Nishihara
2016-04-06 22:06:53 -07:00
parent d8f7a0e2e4
commit 6a5eeec86b
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -37,12 +37,12 @@ void Worker::register_worker(const std::string& worker_address, const std::strin
}
void Worker::request_object(ObjRef objref) {
PullObjRequest request;
RequestObjRequest request;
request.set_workerid(workerid_);
request.set_objref(objref);
AckReply reply;
ClientContext context;
Status status = scheduler_stub_->PullObj(&context, request, &reply);
Status status = scheduler_stub_->RequestObj(&context, request, &reply);
return;
}