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
8c8a9f85
Commit
8c8a9f85
authored
Feb 18, 2019
by
renxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes: some wrong comments
parent
30c7df5c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
strategy.go
pkg/registry/certificates/certificates/strategy.go
+1
-1
strategy.go
pkg/registry/rbac/clusterrole/strategy.go
+1
-1
strategy.go
pkg/registry/rbac/clusterrolebinding/strategy.go
+1
-1
No files found.
pkg/registry/certificates/certificates/strategy.go
View file @
8c8a9f85
...
@@ -40,7 +40,7 @@ type csrStrategy struct {
...
@@ -40,7 +40,7 @@ type csrStrategy struct {
// CSR objects.
// CSR objects.
var
Strategy
=
csrStrategy
{
legacyscheme
.
Scheme
,
names
.
SimpleNameGenerator
}
var
Strategy
=
csrStrategy
{
legacyscheme
.
Scheme
,
names
.
SimpleNameGenerator
}
// NamespaceScoped is
tru
e for CSRs.
// NamespaceScoped is
fals
e for CSRs.
func
(
csrStrategy
)
NamespaceScoped
()
bool
{
func
(
csrStrategy
)
NamespaceScoped
()
bool
{
return
false
return
false
}
}
...
...
pkg/registry/rbac/clusterrole/strategy.go
View file @
8c8a9f85
...
@@ -44,7 +44,7 @@ var _ rest.RESTCreateStrategy = Strategy
...
@@ -44,7 +44,7 @@ var _ rest.RESTCreateStrategy = Strategy
// Strategy should implement rest.RESTUpdateStrategy
// Strategy should implement rest.RESTUpdateStrategy
var
_
rest
.
RESTUpdateStrategy
=
Strategy
var
_
rest
.
RESTUpdateStrategy
=
Strategy
// NamespaceScoped is
tru
e for ClusterRoles.
// NamespaceScoped is
fals
e for ClusterRoles.
func
(
strategy
)
NamespaceScoped
()
bool
{
func
(
strategy
)
NamespaceScoped
()
bool
{
return
false
return
false
}
}
...
...
pkg/registry/rbac/clusterrolebinding/strategy.go
View file @
8c8a9f85
...
@@ -44,7 +44,7 @@ var _ rest.RESTCreateStrategy = Strategy
...
@@ -44,7 +44,7 @@ var _ rest.RESTCreateStrategy = Strategy
// Strategy should implement rest.RESTUpdateStrategy
// Strategy should implement rest.RESTUpdateStrategy
var
_
rest
.
RESTUpdateStrategy
=
Strategy
var
_
rest
.
RESTUpdateStrategy
=
Strategy
// NamespaceScoped is
tru
e for ClusterRoleBindings.
// NamespaceScoped is
fals
e for ClusterRoleBindings.
func
(
strategy
)
NamespaceScoped
()
bool
{
func
(
strategy
)
NamespaceScoped
()
bool
{
return
false
return
false
}
}
...
...
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