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
88828cc7
Commit
88828cc7
authored
Jul 21, 2017
by
jianglingxia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[trival] fix typo
parent
ef98b80b
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
daemoncontroller.go
pkg/controller/daemon/daemoncontroller.go
+1
-1
deployment_controller.go
pkg/controller/deployment/deployment_controller.go
+1
-1
jobcontroller.go
pkg/controller/job/jobcontroller.go
+1
-1
replica_set.go
pkg/controller/replicaset/replica_set.go
+1
-1
replication_controller.go
pkg/controller/replication/replication_controller.go
+1
-1
stateful_set.go
pkg/controller/statefulset/stateful_set.go
+1
-1
No files found.
pkg/controller/daemon/daemoncontroller.go
View file @
88828cc7
...
@@ -695,7 +695,7 @@ func (dsc *DaemonSetsController) getNodesToDaemonPods(ds *extensions.DaemonSet)
...
@@ -695,7 +695,7 @@ func (dsc *DaemonSetsController) getNodesToDaemonPods(ds *extensions.DaemonSet)
// resolveControllerRef returns the controller referenced by a ControllerRef,
// resolveControllerRef returns the controller referenced by a ControllerRef,
// or nil if the ControllerRef could not be resolved to a matching controller
// or nil if the ControllerRef could not be resolved to a matching controller
// of the corr
r
ect Kind.
// of the correct Kind.
func
(
dsc
*
DaemonSetsController
)
resolveControllerRef
(
namespace
string
,
controllerRef
*
metav1
.
OwnerReference
)
*
extensions
.
DaemonSet
{
func
(
dsc
*
DaemonSetsController
)
resolveControllerRef
(
namespace
string
,
controllerRef
*
metav1
.
OwnerReference
)
*
extensions
.
DaemonSet
{
// We can't look up by UID, so look up by Name and then verify UID.
// We can't look up by UID, so look up by Name and then verify UID.
// Don't even try to look up by Name if it's the wrong Kind.
// Don't even try to look up by Name if it's the wrong Kind.
...
...
pkg/controller/deployment/deployment_controller.go
View file @
88828cc7
...
@@ -435,7 +435,7 @@ func (dc *DeploymentController) getDeploymentForPod(pod *v1.Pod) *extensions.Dep
...
@@ -435,7 +435,7 @@ func (dc *DeploymentController) getDeploymentForPod(pod *v1.Pod) *extensions.Dep
// resolveControllerRef returns the controller referenced by a ControllerRef,
// resolveControllerRef returns the controller referenced by a ControllerRef,
// or nil if the ControllerRef could not be resolved to a matching controller
// or nil if the ControllerRef could not be resolved to a matching controller
// of the corr
r
ect Kind.
// of the correct Kind.
func
(
dc
*
DeploymentController
)
resolveControllerRef
(
namespace
string
,
controllerRef
*
metav1
.
OwnerReference
)
*
extensions
.
Deployment
{
func
(
dc
*
DeploymentController
)
resolveControllerRef
(
namespace
string
,
controllerRef
*
metav1
.
OwnerReference
)
*
extensions
.
Deployment
{
// We can't look up by UID, so look up by Name and then verify UID.
// We can't look up by UID, so look up by Name and then verify UID.
// Don't even try to look up by Name if it's the wrong Kind.
// Don't even try to look up by Name if it's the wrong Kind.
...
...
pkg/controller/job/jobcontroller.go
View file @
88828cc7
...
@@ -164,7 +164,7 @@ func (jm *JobController) getPodJobs(pod *v1.Pod) []*batch.Job {
...
@@ -164,7 +164,7 @@ func (jm *JobController) getPodJobs(pod *v1.Pod) []*batch.Job {
// resolveControllerRef returns the controller referenced by a ControllerRef,
// resolveControllerRef returns the controller referenced by a ControllerRef,
// or nil if the ControllerRef could not be resolved to a matching controller
// or nil if the ControllerRef could not be resolved to a matching controller
// of the corr
r
ect Kind.
// of the correct Kind.
func
(
jm
*
JobController
)
resolveControllerRef
(
namespace
string
,
controllerRef
*
metav1
.
OwnerReference
)
*
batch
.
Job
{
func
(
jm
*
JobController
)
resolveControllerRef
(
namespace
string
,
controllerRef
*
metav1
.
OwnerReference
)
*
batch
.
Job
{
// We can't look up by UID, so look up by Name and then verify UID.
// We can't look up by UID, so look up by Name and then verify UID.
// Don't even try to look up by Name if it's the wrong Kind.
// Don't even try to look up by Name if it's the wrong Kind.
...
...
pkg/controller/replicaset/replica_set.go
View file @
88828cc7
...
@@ -183,7 +183,7 @@ func (rsc *ReplicaSetController) getPodReplicaSets(pod *v1.Pod) []*extensions.Re
...
@@ -183,7 +183,7 @@ func (rsc *ReplicaSetController) getPodReplicaSets(pod *v1.Pod) []*extensions.Re
// resolveControllerRef returns the controller referenced by a ControllerRef,
// resolveControllerRef returns the controller referenced by a ControllerRef,
// or nil if the ControllerRef could not be resolved to a matching controller
// or nil if the ControllerRef could not be resolved to a matching controller
// of the corr
r
ect Kind.
// of the correct Kind.
func
(
rsc
*
ReplicaSetController
)
resolveControllerRef
(
namespace
string
,
controllerRef
*
metav1
.
OwnerReference
)
*
extensions
.
ReplicaSet
{
func
(
rsc
*
ReplicaSetController
)
resolveControllerRef
(
namespace
string
,
controllerRef
*
metav1
.
OwnerReference
)
*
extensions
.
ReplicaSet
{
// We can't look up by UID, so look up by Name and then verify UID.
// We can't look up by UID, so look up by Name and then verify UID.
// Don't even try to look up by Name if it's the wrong Kind.
// Don't even try to look up by Name if it's the wrong Kind.
...
...
pkg/controller/replication/replication_controller.go
View file @
88828cc7
...
@@ -178,7 +178,7 @@ func (rm *ReplicationManager) getPodControllers(pod *v1.Pod) []*v1.ReplicationCo
...
@@ -178,7 +178,7 @@ func (rm *ReplicationManager) getPodControllers(pod *v1.Pod) []*v1.ReplicationCo
// resolveControllerRef returns the controller referenced by a ControllerRef,
// resolveControllerRef returns the controller referenced by a ControllerRef,
// or nil if the ControllerRef could not be resolved to a matching controller
// or nil if the ControllerRef could not be resolved to a matching controller
// of the corr
r
ect Kind.
// of the correct Kind.
func
(
rm
*
ReplicationManager
)
resolveControllerRef
(
namespace
string
,
controllerRef
*
metav1
.
OwnerReference
)
*
v1
.
ReplicationController
{
func
(
rm
*
ReplicationManager
)
resolveControllerRef
(
namespace
string
,
controllerRef
*
metav1
.
OwnerReference
)
*
v1
.
ReplicationController
{
// We can't look up by UID, so look up by Name and then verify UID.
// We can't look up by UID, so look up by Name and then verify UID.
// Don't even try to look up by Name if it's the wrong Kind.
// Don't even try to look up by Name if it's the wrong Kind.
...
...
pkg/controller/statefulset/stateful_set.go
View file @
88828cc7
...
@@ -355,7 +355,7 @@ func (ssc *StatefulSetController) getStatefulSetsForPod(pod *v1.Pod) []*apps.Sta
...
@@ -355,7 +355,7 @@ func (ssc *StatefulSetController) getStatefulSetsForPod(pod *v1.Pod) []*apps.Sta
// resolveControllerRef returns the controller referenced by a ControllerRef,
// resolveControllerRef returns the controller referenced by a ControllerRef,
// or nil if the ControllerRef could not be resolved to a matching controller
// or nil if the ControllerRef could not be resolved to a matching controller
// of the corr
r
ect Kind.
// of the correct Kind.
func
(
ssc
*
StatefulSetController
)
resolveControllerRef
(
namespace
string
,
controllerRef
*
metav1
.
OwnerReference
)
*
apps
.
StatefulSet
{
func
(
ssc
*
StatefulSetController
)
resolveControllerRef
(
namespace
string
,
controllerRef
*
metav1
.
OwnerReference
)
*
apps
.
StatefulSet
{
// We can't look up by UID, so look up by Name and then verify UID.
// We can't look up by UID, so look up by Name and then verify UID.
// Don't even try to look up by Name if it's the wrong Kind.
// Don't even try to look up by Name if it's the wrong Kind.
...
...
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