kubernetes/pkg/controller/node
Dmitry Shulyak 0ddaa20bf1 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 duplicates node entry in UpdatedNodes slice

For the 1st, 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
just replace object.

Change-Id: I9ef1cca2788ba946eee37fa1b037c124ad76074c
2016-09-14 12:34:37 +03:00
..
cidr_allocator_test.go List all nodes and occupy cidr map before starting allocations 2016-07-16 13:54:01 -07:00
cidr_allocator.go Retry assigning CIDRs 2016-07-18 17:06:04 +02:00
cidr_set_test.go Run goimports 2016-08-02 15:12:39 +03:00
cidr_set.go Retry assigning CIDRs 2016-07-18 17:06:04 +02:00
controller_utils.go Merge pull request #30624 from derekwaynecarr/node-controller-fix 2016-08-19 14:33:54 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
metrics.go Change the eviction metric type and fix rate-limited-timed-queue 2016-09-08 12:20:51 +02:00
nodecontroller_test.go Merge pull request #30138 from gmarek/flags 2016-08-18 00:41:28 -07:00
nodecontroller.go Change the eviction metric type and fix rate-limited-timed-queue 2016-09-08 12:20:51 +02:00
rate_limited_queue_test.go Change the eviction metric type and fix rate-limited-timed-queue 2016-09-08 12:20:51 +02:00
rate_limited_queue.go Change the eviction metric type and fix rate-limited-timed-queue 2016-09-08 12:20:51 +02:00
test_utils.go Fix FakeNodeHandler Update behaviour 2016-09-14 12:34:37 +03:00