From 8468c6623f6f7629b8ac8f81e10606f76114cc0c Mon Sep 17 00:00:00 2001 From: Ash-exp Date: Thu, 26 Sep 2024 12:21:34 +0530 Subject: [PATCH] updated ConvertCdWorkflowRunnerDtoToDbObj data adapter method --- pkg/workflow/cd/adapter/adapter.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/workflow/cd/adapter/adapter.go b/pkg/workflow/cd/adapter/adapter.go index a782e8333ef..af6c00adbbb 100644 --- a/pkg/workflow/cd/adapter/adapter.go +++ b/pkg/workflow/cd/adapter/adapter.go @@ -84,5 +84,11 @@ func ConvertCdWorkflowRunnerDtoToDbObj(dto *bean.CdWorkflowRunnerDto) *pipelineC ImagePathReservationIds: dto.ImagePathReservationIds, ReferenceId: dto.ReferenceId, IsArtifactUploaded: &dto.IsArtifactUploaded, + AuditLog: sql.AuditLog{ + CreatedOn: dto.StartedOn, + CreatedBy: dto.TriggeredBy, + UpdatedOn: dto.StartedOn, + UpdatedBy: dto.TriggeredBy, + }, } }