kubernetes/pkg/controller
Kubernetes Submit Queue 2f39e8a045
Merge pull request #57724 from mlmhl/ad_controller_populateDesiredStateOfWorld
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

fix populateDesiredStateOfWorld bug for attach/detach controller

**What this PR does / why we need it**:

The `attachDetachController.populateDesiredStateOfWorld` mehod will fetch all pods from the informer cache and add each pods to `DesiredStateOfWorld` by the [addPod method](da9a4d5da9/pkg/controller/volume/attachdetach/attach_detach_controller.go (L338)).
However, the element type of pod list returned by `podLister.List` is already `*v1.Pod`, so we needn't to take the address any more.

**Release note**:

```release-note
NONE
```

/sig storage
/kind bug
2018-01-10 05:12:27 -08:00
..
bootstrap Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
certificates Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
cloud Fix scheduler refs in BUILD files. 2018-01-05 15:05:01 -08:00
clusterroleaggregation Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
cronjob Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
daemon Fix scheduler refs in BUILD files. 2018-01-05 15:05:01 -08:00
deployment Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
disruption Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
endpoint remove redundant deleting endpoint explicitly in endpoint controller 2018-01-02 20:35:30 +08:00
garbagecollector Merge pull request #55218 from chentao1596/optimize-error-nomatchkind 2018-01-04 20:43:20 -08:00
history Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
job Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
namespace Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
nodeipam Refactor retry logic away from updateCIDRAllocation() 2018-01-09 12:45:55 +01:00
nodelifecycle Merge pull request #57852 from misterikkit/moveScheduler 2018-01-05 22:20:13 -08:00
podautoscaler Clarify error messages in HPA metrics 2018-01-03 21:55:59 -05:00
podgc Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
replicaset Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
replication Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
resourcequota Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
route Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
service use sets.String to replace slice when sort []string 2018-01-06 16:16:37 +08:00
serviceaccount Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
statefulset Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
testutil Update generated files 2017-11-09 12:14:08 +01:00
ttl Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
util/node Split the NodeController into lifecycle and ipam pieces. 2018-01-04 12:48:08 -08:00
volume Merge pull request #57724 from mlmhl/ad_controller_populateDesiredStateOfWorld 2018-01-10 05:12:27 -08:00
.import-restrictions add import restrictions 2016-10-13 16:10:24 -07:00
BUILD Split the NodeController into lifecycle and ipam pieces. 2018-01-04 12:48:08 -08:00
client_builder.go remove duplicated import 2017-11-14 17:18:17 +08:00
controller_ref_manager.go Migrate to GetControllerOf from meta/v1 package 2017-08-06 22:41:58 +10:00
controller_ref_manager_test.go Merge pull request #50353 from zhangxiaoyu-zidif/Delete-redundant-expectError-for-controller-ref-test 2017-08-12 00:00:55 -07:00
controller_utils.go Removed unnecessary type conversion 2017-11-14 11:04:18 +02:00
controller_utils_test.go Removed unused function. 2017-11-14 10:53:29 +02:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
lookup_cache.go Use fnv.New32a() in hash instead adler32 2017-02-15 14:03:54 +08:00
OWNERS remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00