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
2b85ca8e
Commit
2b85ca8e
authored
Mar 17, 2017
by
haoyuan
Committed by
harryge00
Mar 18, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typos
parent
223c721d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
client_builder.go
pkg/controller/client_builder.go
+1
-1
daemoncontroller.go
pkg/controller/daemon/daemoncontroller.go
+1
-1
No files found.
pkg/controller/client_builder.go
View file @
2b85ca8e
...
...
@@ -40,7 +40,7 @@ import (
"github.com/golang/glog"
)
// ControllerClientBuilder allow
s
you to get clients and configs for controllers
// ControllerClientBuilder allow
s
you to get clients and configs for controllers
type
ControllerClientBuilder
interface
{
Config
(
name
string
)
(
*
restclient
.
Config
,
error
)
ConfigOrDie
(
name
string
)
*
restclient
.
Config
...
...
pkg/controller/daemon/daemoncontroller.go
View file @
2b85ca8e
...
...
@@ -265,7 +265,7 @@ func (dsc *DaemonSetsController) getPodDaemonSets(pod *v1.Pod) []*extensions.Dae
return
nil
}
if
len
(
sets
)
>
1
{
// ControllerRef will ensure we don't do anythi
gn
crazy, but more than one
// ControllerRef will ensure we don't do anythi
ng
crazy, but more than one
// item in this list nevertheless constitutes user error.
utilruntime
.
HandleError
(
fmt
.
Errorf
(
"user error! more than one daemon is selecting pods with labels: %+v"
,
pod
.
Labels
))
}
...
...
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