diff --git a/pkg/client/cache/delta_fifo.go b/pkg/client/cache/delta_fifo.go index a0df1c8285a..362e12f3ae7 100644 --- a/pkg/client/cache/delta_fifo.go +++ b/pkg/client/cache/delta_fifo.go @@ -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 { diff --git a/pkg/client/cache/fifo.go b/pkg/client/cache/fifo.go index eccafd8e064..2729ad3f6b9 100644 --- a/pkg/client/cache/fifo.go +++ b/pkg/client/cache/fifo.go @@ -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 {