mirror of
https://github.com/kubernetes/client-go.git
synced 2025-09-08 10:29:25 +00:00
Remove unused DeltaFIFO compressor argument to NewDeltaFIFO
Nobody uses it; the one or two older users from 1.4/1.5 timeframe were removed for 1.6. It's also poorly understood and the sole example is in the testcases, and it's pretty incomplete. If anyone really wants compression, they can revert this PR. Kubernetes-commit: a56c8f50cb9b9bfdb92bc5f005a48f8df5afadb9
This commit is contained in:
committed by
Kubernetes Publisher
parent
35d357565b
commit
577c46c713
2
tools/cache/controller_test.go
vendored
2
tools/cache/controller_test.go
vendored
@@ -44,7 +44,7 @@ func Example() {
|
||||
// This will hold incoming changes. Note how we pass downstream in as a
|
||||
// KeyLister, that way resync operations will result in the correct set
|
||||
// of update/delete deltas.
|
||||
fifo := NewDeltaFIFO(MetaNamespaceKeyFunc, nil, downstream)
|
||||
fifo := NewDeltaFIFO(MetaNamespaceKeyFunc, downstream)
|
||||
|
||||
// Let's do threadsafe output to get predictable test results.
|
||||
deletionCounter := make(chan string, 1000)
|
||||
|
Reference in New Issue
Block a user