Mix up the pipeline list between ks and Jenkins
Technically we should take the Pipeline list from ks or mixup the instead of only taking it from Jenkins. Because we always manipulate Pipeline from ks. Signed-off-by: rick <rick@jenkins-zh.cn>
This commit is contained in:
@@ -184,7 +184,7 @@ func (h *devopsHandler) ListPipeline(request *restful.Request, response *restful
|
||||
devops := request.PathParameter("devops")
|
||||
limit, offset := params.ParsePaging(request)
|
||||
|
||||
objs, err := h.devops.ListPipelineObj(devops, limit, offset)
|
||||
objs, err := h.devops.ListPipelineObj(devops, nil, limit, offset)
|
||||
if err != nil {
|
||||
klog.Error(err)
|
||||
if errors.IsNotFound(err) {
|
||||
|
||||
Reference in New Issue
Block a user