Skip to content

Commit 13febbb

Browse files
committed
update event metadata for creating new job
1 parent 49d36b7 commit 13febbb

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

management/server/peer.go

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -383,11 +383,8 @@ func (am *DefaultAccountManager) CreatePeerJob(ctx context.Context, accountID, p
383383
}
384384

385385
jobMeta := map[string]any{
386-
"job_id": job.ID,
387-
"for_peer_id": job.PeerID,
388-
"job_type": job.Workload.Type,
389-
"job_status": job.Status,
390-
"job_workload": job.Workload,
386+
"for_peer_name": peer.Name,
387+
"job_type": job.Workload.Type,
391388
}
392389

393390
eventsToStore = func() {

0 commit comments

Comments
 (0)