fix-devops-api-get-pipelines-404
Signed-off-by: runzexia <runzexia@yunify.com>
This commit is contained in:
@@ -29,8 +29,8 @@ import (
|
|||||||
const jenkinsHeaderPre = "X-"
|
const jenkinsHeaderPre = "X-"
|
||||||
|
|
||||||
func GetPipeline(req *restful.Request, resp *restful.Response) {
|
func GetPipeline(req *restful.Request, resp *restful.Response) {
|
||||||
projectName := req.PathParameter("projectName")
|
projectName := req.PathParameter("devops")
|
||||||
pipelineName := req.PathParameter("pipelineName")
|
pipelineName := req.PathParameter("pipelines")
|
||||||
|
|
||||||
res, err := devops.GetPipeline(projectName, pipelineName, req.Request)
|
res, err := devops.GetPipeline(projectName, pipelineName, req.Request)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user