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

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


The following commit(s) were added to refs/heads/main by this push:
     new 07d7176ef fix(zentao): remove unused fields in tool layer, avoid task 
to fail (#6020)
07d7176ef is described below

commit 07d7176ef9c92bfe3fed48cfcf3ab03fc82dc955
Author: Lynwee <[email protected]>
AuthorDate: Fri Sep 8 14:16:05 2023 +0800

    fix(zentao): remove unused fields in tool layer, avoid task to fail (#6020)
    
    Co-authored-by: Klesh Wong <[email protected]>
---
 backend/plugins/zentao/models/bug_commits.go   | 5 -----
 backend/plugins/zentao/models/story_commits.go | 5 -----
 backend/plugins/zentao/models/task_commits.go  | 5 -----
 3 files changed, 15 deletions(-)

diff --git a/backend/plugins/zentao/models/bug_commits.go 
b/backend/plugins/zentao/models/bug_commits.go
index 905fcb2b4..32bad3120 100644
--- a/backend/plugins/zentao/models/bug_commits.go
+++ b/backend/plugins/zentao/models/bug_commits.go
@@ -73,11 +73,6 @@ type ZentaoBugRepoCommitsRes struct {
                Time      string `json:"time"`
                Comment   string `json:"comment"`
                Change    struct {
-                       TestYaml struct {
-                               Action  string `json:"action"`
-                               Kind    string `json:"kind"`
-                               OldPath string `json:"oldPath"`
-                       } `json:"/test.yaml"`
                } `json:"change"`
                Commit string `json:"commit"`
        } `json:"log"`
diff --git a/backend/plugins/zentao/models/story_commits.go 
b/backend/plugins/zentao/models/story_commits.go
index b49828d15..a10823319 100644
--- a/backend/plugins/zentao/models/story_commits.go
+++ b/backend/plugins/zentao/models/story_commits.go
@@ -73,11 +73,6 @@ type ZentaoStoryRepoCommitsRes struct {
                Time      string `json:"time"`
                Comment   string `json:"comment"`
                Change    struct {
-                       TestYaml struct {
-                               Action  string `json:"action"`
-                               Kind    string `json:"kind"`
-                               OldPath string `json:"oldPath"`
-                       } `json:"/test.yaml"`
                } `json:"change"`
                Commit string `json:"commit"`
        } `json:"log"`
diff --git a/backend/plugins/zentao/models/task_commits.go 
b/backend/plugins/zentao/models/task_commits.go
index 2b396b8cf..3648938ee 100644
--- a/backend/plugins/zentao/models/task_commits.go
+++ b/backend/plugins/zentao/models/task_commits.go
@@ -73,11 +73,6 @@ type ZentaoTaskRepoCommitsRes struct {
                Time      string `json:"time"`
                Comment   string `json:"comment"`
                Change    struct {
-                       TestYaml struct {
-                               Action  string `json:"action"`
-                               Kind    string `json:"kind"`
-                               OldPath string `json:"oldPath"`
-                       } `json:"/test.yaml"`
                } `json:"change"`
                Commit string `json:"commit"`
        } `json:"log"`

Reply via email to