Merge pull request #92335 from farah/farah/remove-unused-interface

Delete unused interface
This commit is contained in:
Kubernetes Prow Robot 2020-12-21 14:50:25 -08:00 committed by GitHub
commit 83156c6246
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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