Unverified Commit 0ad0a423 authored by k8s-ci-robot's avatar k8s-ci-robot Committed by GitHub

Merge pull request #68063 from niuzhenguo/useless-string-concatenation

Remove unnecessary concatenation of strings
parents 0373b8d1 70fd811f
......@@ -412,7 +412,7 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag
namespaceParamName := "namespaces"
// Handler for standard REST verbs (GET, PUT, POST and DELETE).
namespaceParam := ws.PathParameter("namespace", "object name and auth scope, such as for teams and projects").DataType("string")
namespacedPath := namespaceParamName + "/{" + "namespace" + "}/" + resource
namespacedPath := namespaceParamName + "/{namespace}/" + resource
namespaceParams := []*restful.Parameter{namespaceParam}
resourcePath := namespacedPath
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment