add total num for runs

Signed-off-by: shaowenchen <mail@chenshaowen.com>
This commit is contained in:
shaowenchen
2020-07-21 15:49:49 +08:00
parent 35989d911c
commit 85f22cc2e1
2 changed files with 8 additions and 1 deletions

View File

@@ -81,6 +81,7 @@ type Pipeline struct {
// GetPipeBranchRun & SearchPipelineRuns
type PipelineRunList struct {
Items []PipelineRun `json:"items"`
Total int `json:"totalItems"`
}
// GetBranchPipeRunNodes