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 2024/05/15 04:20:45 UTC

(incubator-devlake) branch deployment_commits updated: fix: unified naming format

This is an automated email from the ASF dual-hosted git repository.

abeizn pushed a commit to branch deployment_commits
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/deployment_commits by this push:
     new 096004397 fix: unified naming format
096004397 is described below

commit 096004397f7b3419013d310a082fcd9a671db9e5
Author: abeizn <zi...@merico.dev>
AuthorDate: Wed May 15 12:20:33 2024 +0800

    fix: unified naming format
---
 backend/plugins/webhook/api/deployments.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/plugins/webhook/api/deployments.go b/backend/plugins/webhook/api/deployments.go
index 64b9e91e5..09f0d4475 100644
--- a/backend/plugins/webhook/api/deployments.go
+++ b/backend/plugins/webhook/api/deployments.go
@@ -54,7 +54,7 @@ type WebhookDeployTaskRequest struct {
 	CommitSha    string     `mapstructure:"commit_sha"`
 	CommitMsg    string     `mapstructure:"commit_msg"`
 	// DeploymentCommits is used for multiple commits in one deployment
-	DeploymentCommits []DeploymentCommit `mapstructure:"deploymentCommits" validate:"omitempty,dive"`
+	DeploymentCommits []DeploymentCommit `mapstructure:"deployment_commits" validate:"omitempty,dive"`
 }
 
 type DeploymentCommit struct {