Skip to content

Commit

Permalink
updated ConvertCdWorkflowRunnerDtoToDbObj data adapter method
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash-exp committed Sep 26, 2024
1 parent c3e8622 commit 8468c66
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/workflow/cd/adapter/adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
}
}

0 comments on commit 8468c66

Please sign in to comment.