feature: add annotations to pipelines for getting syncstatus

Signed-off-by: shaowenchen <mail@chenshaowen.com>
This commit is contained in:
shaowenchen
2021-02-24 14:19:09 +08:00
parent 000d309785
commit f6bcdc50fd
3 changed files with 6 additions and 3 deletions

View File

@@ -112,7 +112,8 @@ func (h *ProjectPipelineHandler) ListPipelines(req *restful.Request, resp *restf
} else {
pipelineMap[pipeline.Name] = i
pipelineList.Items[i] = clientDevOps.Pipeline{
Name: pipeline.Name,
Name: pipeline.Name,
Annotations: pipeline.Annotations,
}
}
}