You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ab...@apache.org on 2023/10/26 03:39:13 UTC

[incubator-devlake] branch fix-cicd-deployment-no-data updated: fix: cicd deployment no data

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 <zi...@merico.dev>
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,