diff --git a/pkg/apis/resources/v1alpha2/register.go b/pkg/apis/resources/v1alpha2/register.go index f7454dab6..df59250a6 100644 --- a/pkg/apis/resources/v1alpha2/register.go +++ b/pkg/apis/resources/v1alpha2/register.go @@ -82,7 +82,7 @@ func addWebService(c *restful.Container) error { Metadata(restfulspec.KeyOpenAPITags, []string{constants.NamespaceResourcesTag}). Doc("Rerun job whether the job is complete or not"). 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{}))