This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch fix-cicd-deployment-no-data
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/fix-cicd-deployment-no-data by
this push:
new 9170eef4a fix: cicd deployment no data
9170eef4a is described below
commit 9170eef4a7d9d6e5c844dab33dc68ee689c82ada
Author: abeizn <[email protected]>
AuthorDate: Thu Oct 26 11:39:01 2023 +0800
fix: cicd deployment no data
---
backend/core/models/domainlayer/devops/cicd_deployment_commit.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/core/models/domainlayer/devops/cicd_deployment_commit.go
b/backend/core/models/domainlayer/devops/cicd_deployment_commit.go
index e32001f3f..a04896e59 100644
--- a/backend/core/models/domainlayer/devops/cicd_deployment_commit.go
+++ b/backend/core/models/domainlayer/devops/cicd_deployment_commit.go
@@ -49,7 +49,7 @@ func (cicdDeploymentCommit CicdDeploymentCommit) TableName()
string {
func (cicdDeploymentCommit CicdDeploymentCommit) ToDeployment()
*CICDDeployment {
return &CICDDeployment{
DomainEntity: domainlayer.DomainEntity{
- Id: cicdDeploymentCommit.CicdDeploymentId,
+ Id: cicdDeploymentCommit.Id,
NoPKModel: cicdDeploymentCommit.DomainEntity.NoPKModel,
},
CicdScopeId: cicdDeploymentCommit.CicdScopeId,