Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
0ad0a423
Unverified
Commit
0ad0a423
authored
Oct 05, 2018
by
k8s-ci-robot
Committed by
GitHub
Oct 05, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #68063 from niuzhenguo/useless-string-concatenation
Remove unnecessary concatenation of strings
parents
0373b8d1
70fd811f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
installer.go
staging/src/k8s.io/apiserver/pkg/endpoints/installer.go
+1
-1
No files found.
staging/src/k8s.io/apiserver/pkg/endpoints/installer.go
View file @
0ad0a423
...
@@ -412,7 +412,7 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag
...
@@ -412,7 +412,7 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag
namespaceParamName
:=
"namespaces"
namespaceParamName
:=
"namespaces"
// Handler for standard REST verbs (GET, PUT, POST and DELETE).
// 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"
)
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
}
namespaceParams
:=
[]
*
restful
.
Parameter
{
namespaceParam
}
resourcePath
:=
namespacedPath
resourcePath
:=
namespacedPath
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment