Skip to content

Commit 43e84d3

Browse files
committed
fix compile
1 parent 427d4ef commit 43e84d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/wedpr-computing/ppc-mpc/src/MPCService.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ bool MPCService::addJobIfNotRunning(const JobInfo& jobInfo)
5656
MPC_LOG(INFO) << LOG_DESC("[MPCService][addJob]")
5757
<< "job already exists"
5858
<< LOG_KV("jobId", jobInfo.jobId)
59-
<< LOG_KV("code", it->second.code)
59+
<< LOG_KV("status", it->second.status)
6060
<< LOG_KV("message", it->second.message);
6161

6262
if (it->second.status == MPC_JOB_RUNNNING)
@@ -103,7 +103,7 @@ bool MPCService::queryJobStatus(const std::string &jobId, JobStatus &jobStatus)
103103
MPC_LOG(INFO) << LOG_DESC("[MPCService][queryJobStatus]")
104104
<< "find job"
105105
<< LOG_KV("jobId", jobId)
106-
<< LOG_KV("code", jobStatus.code)
106+
<< LOG_KV("status", jobStatus.status)
107107
<< LOG_KV("message", jobStatus.message)
108108
<< LOG_KV("timeCostMs", jobStatus.timeCostMs);
109109
return true;

0 commit comments

Comments
 (0)