Fix passing StringPiece to proto string setter in dispatcher_state_test.
PiperOrigin-RevId: 324930108 Change-Id: If7324887c5a8136cef4598150e97a701c83cfd1c
This commit is contained in:
parent
f9bb629525
commit
f05d6a01ee
@ -79,7 +79,7 @@ Status CreateNamedJob(int64 job_id, int64 dataset_id, NamedJobKey named_job_key,
|
||||
}
|
||||
|
||||
Status CreateTask(int64 task_id, int64 job_id, int64 dataset_id,
|
||||
StringPiece worker_address, DispatcherState* state) {
|
||||
const std::string& worker_address, DispatcherState* state) {
|
||||
Update update;
|
||||
CreateTaskUpdate* create_task = update.mutable_create_task();
|
||||
create_task->set_task_id(task_id);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user