mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Merge pull request #6610 from markturansky/fifos_typos
Fixed typos in FIFO comments
This commit is contained in:
commit
b12d75d0ee
2
pkg/client/cache/delta_fifo.go
vendored
2
pkg/client/cache/delta_fifo.go
vendored
@ -295,7 +295,7 @@ func (f *DeltaFIFO) Pop() interface{} {
|
||||
}
|
||||
|
||||
// Replace will delete the contents of 'f', using instead the given map.
|
||||
// 'f' takes ownersip of the map, you should not reference the map again
|
||||
// 'f' takes ownership of the map, you should not reference the map again
|
||||
// after calling this function. f's queue is reset, too; upon return, it
|
||||
// will contain the items in the map, in no particular order.
|
||||
func (f *DeltaFIFO) Replace(list []interface{}) error {
|
||||
|
2
pkg/client/cache/fifo.go
vendored
2
pkg/client/cache/fifo.go
vendored
@ -185,7 +185,7 @@ func (f *FIFO) Pop() interface{} {
|
||||
}
|
||||
|
||||
// Replace will delete the contents of 'f', using instead the given map.
|
||||
// 'f' takes ownersip of the map, you should not reference the map again
|
||||
// 'f' takes ownership of the map, you should not reference the map again
|
||||
// after calling this function. f's queue is reset, too; upon return, it
|
||||
// will contain the items in the map, in no particular order.
|
||||
func (f *FIFO) Replace(list []interface{}) error {
|
||||
|
Loading…
Reference in New Issue
Block a user