File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
staging/src/k8s.io/client-go/tools/cache Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -71,8 +71,8 @@ type Queue interface {
71
71
72
72
// HasSynced returns true if the first batch of keys have all been
73
73
// popped. The first batch of keys are those of the first Replace
74
- // operation if that happened before any Add, Update, or Delete;
75
- // otherwise the first batch is empty.
74
+ // operation if that happened before any Add, AddIfNotPresent,
75
+ // Update, or Delete; otherwise the first batch is empty.
76
76
HasSynced () bool
77
77
78
78
// Close the queue
@@ -145,7 +145,7 @@ func (f *FIFO) Close() {
145
145
}
146
146
147
147
// HasSynced returns true if an Add/Update/Delete/AddIfNotPresent are called first,
148
- // or an Update called first but the first batch of items inserted by Replace() has been popped
148
+ // or the first batch of items inserted by Replace() has been popped.
149
149
func (f * FIFO ) HasSynced () bool {
150
150
f .lock .Lock ()
151
151
defer f .lock .Unlock ()
You can’t perform that action at this time.
0 commit comments