提交 1e7e9577 编写于 作者: Z ZeHuaiWang 提交者: Kubernetes Prow Robot

remove some useless code in handler/apihandler.api (#4475)

上级 6031007c
......@@ -1979,8 +1979,6 @@ func (apiHandler *APIHandler) handleGetCronJobDetail(request *restful.Request, r
namespace := request.PathParameter("namespace")
name := request.PathParameter("name")
dataSelect := parser.ParseDataSelectPathParameter(request)
dataSelect.MetricQuery = dataselect.StandardMetrics
result, err := cronjob.GetCronJobDetail(k8sClient, namespace, name)
if err != nil {
errors.HandleInternalError(response, err)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册