Update register.go

This commit is contained in:
rayzhou2017
2019-07-03 17:08:31 +08:00
committed by GitHub
parent f2ba29fe14
commit e062d11fef

View File

@@ -52,7 +52,7 @@ func addWebService(c *restful.Container) error {
Doc("Rerun job whether the job is complete or not").
Deprecate().
Param(webservice.PathParameter("job", "job name")).
Param(webservice.PathParameter("namespace", "the namespace where the job runs in")).
Param(webservice.PathParameter("namespace", "the name of the namespace where the job runs in")).
Param(webservice.QueryParameter("action", "action must be \"rerun\"")).
Returns(http.StatusOK, ok, errors.Error{}))