Drop unused Endpoints-only tracking code in kube-proxy

This leaves the code in a somewhat messy state but it can be improved
further later.
This commit is contained in:
Dan Winship
2022-12-30 21:30:37 -05:00
parent c78b057d85
commit fe2b658ef5
3 changed files with 4 additions and 180 deletions

View File

@@ -1536,9 +1536,6 @@ func TestEndpointSliceUpdate(t *testing.T) {
if !reflect.DeepEqual(got, tc.expectedReturnVal) {
t.Errorf("EndpointSliceUpdate return value got: %v, want %v", got, tc.expectedReturnVal)
}
if tc.endpointChangeTracker.items == nil {
t.Errorf("Expected ect.items to not be nil")
}
pendingChanges := tc.endpointChangeTracker.PendingChanges()
if !pendingChanges.Equal(tc.expectedChangedEndpoints) {