fix create pipeline error
fix get pipelinerun list feature kapi for devopsproject pipeline credential fix get pipelinebranch fix create credential api Signed-off-by: shaowenchen <mail@chenshaowen.com>
This commit is contained in:
@@ -145,7 +145,7 @@ func (p *Pipeline) ListPipelineRuns() (*devops.PipelineRunList, error) {
|
||||
}
|
||||
|
||||
var pipelineRunList devops.PipelineRunList
|
||||
err = json.Unmarshal(res, &pipelineRunList)
|
||||
err = json.Unmarshal(res, &pipelineRunList.Items)
|
||||
if err != nil {
|
||||
klog.Error(err)
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user