Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
internal/deleg_map.go: update WaitForCacheSync godoc
  • Loading branch information
joelanford committed Jan 14, 2020
commit faacf850c5c130c1e816823f0dc88d2369cb8430
2 changes: 1 addition & 1 deletion pkg/cache/internal/deleg_map.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (m *InformersMap) Start(stop <-chan struct{}) error {
return nil
}

// WaitForCacheSync waits until all the caches have been synced.
// WaitForCacheSync waits until all the caches have been started and synced.
func (m *InformersMap) WaitForCacheSync(stop <-chan struct{}) bool {
syncedFuncs := append([]cache.InformerSynced(nil), m.structured.HasSyncedFuncs()...)
syncedFuncs = append(syncedFuncs, m.unstructured.HasSyncedFuncs()...)
Expand Down