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
77cbdddb
Commit
77cbdddb
authored
Jan 17, 2017
by
Antoine Pelisse
Committed by
StudyNick
Feb 06, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OWNERS: Create sig-node alias
Create an alias group for sig-node WaitForCacheSync method comment "contoller" is error word
parent
1df1ad9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
shared_informer.go
staging/src/k8s.io/client-go/tools/cache/shared_informer.go
+2
-2
No files found.
staging/src/k8s.io/client-go/tools/cache/shared_informer.go
View file @
77cbdddb
...
...
@@ -85,7 +85,7 @@ type InformerSynced func() bool
const
syncedPollPeriod
=
100
*
time
.
Millisecond
// WaitForCacheSync waits for caches to populate. It returns true if it was successful, false
// if the contoller should shutdown
// if the cont
r
oller should shutdown
func
WaitForCacheSync
(
stopCh
<-
chan
struct
{},
cacheSyncs
...
InformerSynced
)
bool
{
err
:=
wait
.
PollUntil
(
syncedPollPeriod
,
func
()
(
bool
,
error
)
{
...
...
@@ -130,7 +130,7 @@ type sharedIndexInformer struct {
}
// dummyController hides the fact that a SharedInformer is different from a dedicated one
// where a caller can `Run`. The run method is disonnected in this case, because higher
// where a caller can `Run`. The run method is dis
c
onnected in this case, because higher
// level logic will decide when to start the SharedInformer and related controller.
// Because returning information back is always asynchronous, the legacy callers shouldn't
// notice any change in behavior.
...
...
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