• Kubernetes Submit Queue's avatar
    Merge pull request #32655 from dshulyak/fix_node_fake_update · 6e251178
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Fix FakeNodeHandler Update behaviour
    
    Two problems:
    1. Get is always using Existing nodes slice, and you will for sure miss any updated data
    2. Each Update adds a duplicate node entry to UpdatedNodes slice
    
    For the 1st, we will try to find a node in UpdatedNodes slice (same as for the List).
    2nd - append only if there is no node with same name as updated, if there is we will replace object in UpdatedNodes slice.
    6e251178
Name
Last commit
Last update
..
cidr_allocator.go Loading commit data...
cidr_allocator_test.go Loading commit data...
cidr_set.go Loading commit data...
cidr_set_test.go Loading commit data...
controller_utils.go Loading commit data...
doc.go Loading commit data...
metrics.go Loading commit data...
nodecontroller.go Loading commit data...
nodecontroller_test.go Loading commit data...
rate_limited_queue.go Loading commit data...
rate_limited_queue_test.go Loading commit data...
test_utils.go Loading commit data...