Skip to content

Commit

Permalink
Merge branch 'main' into gc-workers
Browse files Browse the repository at this point in the history
  • Loading branch information
wy65701436 authored Feb 11, 2025
2 parents 6da1536 + 490f898 commit 575bdf2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/controller/event/handler/webhook/artifact/replication.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ func constructReplicationPayload(ctx context.Context, event *event.ReplicationEv
OverrideMode: rpPolicy.Override,
TriggerType: string(execution.Trigger),
ExecutionTimestamp: execution.StartTime.Unix(),
ExecutionID: execution.ID,
TaskID: task.ID,
},
},
}
Expand Down
2 changes: 2 additions & 0 deletions src/controller/event/model/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ type Replication struct {
DestResource *ReplicationResource `json:"dest_resource,omitempty"`
SuccessfulArtifact []*ArtifactInfo `json:"successful_artifact,omitempty"`
FailedArtifact []*ArtifactInfo `json:"failed_artifact,omitempty"`
ExecutionID int64 `json:"execution_id,omitempty"`
TaskID int64 `json:"task_id,omitempty"`
}

// ArtifactInfo describe info of artifact
Expand Down

0 comments on commit 575bdf2

Please sign in to comment.