mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-23 22:09:09 +02:00
update event metadata for creating new job
This commit is contained in:
@@ -383,11 +383,8 @@ func (am *DefaultAccountManager) CreatePeerJob(ctx context.Context, accountID, p
|
|||||||
}
|
}
|
||||||
|
|
||||||
jobMeta := map[string]any{
|
jobMeta := map[string]any{
|
||||||
"job_id": job.ID,
|
"for_peer_name": peer.Name,
|
||||||
"for_peer_id": job.PeerID,
|
"job_type": job.Workload.Type,
|
||||||
"job_type": job.Workload.Type,
|
|
||||||
"job_status": job.Status,
|
|
||||||
"job_workload": job.Workload,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
eventsToStore = func() {
|
eventsToStore = func() {
|
||||||
|
|||||||
Reference in New Issue
Block a user