From cac933934b1301665e6e51a81c66c483f4e16c49 Mon Sep 17 00:00:00 2001 From: Ali Farah Date: Sat, 20 Jun 2020 20:12:46 +1000 Subject: [PATCH] Delete unused interface --- pkg/controller/controller_utils.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/controller/controller_utils.go b/pkg/controller/controller_utils.go index e5c66bfacd3..cbf40456220 100644 --- a/pkg/controller/controller_utils.go +++ b/pkg/controller/controller_utils.go @@ -257,11 +257,6 @@ func (r *ControllerExpectations) DeletionObserved(controllerKey string) { r.LowerExpectations(controllerKey, 0, 1) } -// Expectations are either fulfilled, or expire naturally. -type Expectations interface { - Fulfilled() bool -} - // ControlleeExpectations track controllee creates/deletes. type ControlleeExpectations struct { // Important: Since these two int64 fields are using sync/atomic, they have to be at the top of the struct due to a bug on 32-bit platforms