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

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


The following commit(s) were added to refs/heads/release-v0.19 by this push:
     new 2bc5aa19e fix(zentao): remove unused fields in tool layer, avoid task 
to fail (#6062)
2bc5aa19e is described below

commit 2bc5aa19e624b261760e5624b5bbe3c3fc8b2655
Author: Lynwee <[email protected]>
AuthorDate: Tue Sep 12 15:47:34 2023 +0800

    fix(zentao): remove unused fields in tool layer, avoid task to fail (#6062)
---
 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