Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
Signed-off-by: xiafeng <[email protected]>
  • Loading branch information
L-Xiafeng committed Jul 25, 2024
1 parent b530542 commit 1e10c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CraneCtld/CtldGrpcServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ grpc::Status CraneCtldServiceImpl::CforedStream(
auto result = g_task_scheduler->SubmitProc(
std::move(task), payload.task_id(), payload.pid());
const auto &[proc_id, craned_ids] = result.get();
ok = stream_writer.WriteTaskIdReply(
ok = stream_writer->WriteTaskIdReply(
payload.pid(),
result::result<task_id_t, std::string>{payload.task_id()},
proc_id, craned_ids);
Expand Down

0 comments on commit 1e10c39

Please sign in to comment.