kubernetes/pkg/controller
Eric Paris 5e22e149c5 Fix usage a make(struct, len()) followed by append()
A couple of places in the code we allocate with make() but then use
append(), instead of copy() or direct assignment. This results in a
slice with len() zero elements at the front followed by the expected
data. The correct form for such usage is `make(struct, 0, len())`.

I found these by running:
```
$ git grep -EI -A7 'make\([^,]*, len\(' | grep 'append(' -B7 | grep -v vendor
```
And then manually looking through the results. I'm sure something better
could exist.
2017-07-31 14:43:29 -04:00
..
bootstrap run hack/update-all 2017-06-22 11:31:03 -07:00
certificates Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
cloud remove duplicated import and wrong alias name of api package 2017-07-25 10:04:25 +08:00
cronjob remove duplicated import and wrong alias name of api package 2017-07-25 10:04:25 +08:00
daemon Merge pull request #48976 from supereagle/cleanup-api-package 2017-07-25 12:14:38 -07:00
deployment Merge pull request #48976 from supereagle/cleanup-api-package 2017-07-25 12:14:38 -07:00
disruption remove duplicated import and wrong alias name of api package 2017-07-25 10:04:25 +08:00
endpoint Migrate api.Scheme to scheme.Scheme 2017-07-17 15:05:38 -07:00
garbagecollector Enable garbage collection of custom resources 2017-07-28 10:00:10 -04:00
history Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
job Merge pull request #48976 from supereagle/cleanup-api-package 2017-07-25 12:14:38 -07:00
namespace Merge pull request #49495 from deads2k/controller-12-toleration 2017-07-27 21:45:34 -07:00
node remove duplicated import and wrong alias name of api package 2017-07-25 10:04:25 +08:00
podautoscaler remove duplicated import and wrong alias name of api package 2017-07-25 10:04:25 +08:00
podgc Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
replicaset replicaset fix typo 2017-07-26 17:00:28 +08:00
replication Merge pull request #48976 from supereagle/cleanup-api-package 2017-07-25 12:14:38 -07:00
resourcequota tighten quota controller interface 2017-07-19 15:36:45 -04:00
route Merge pull request #48797 from FengyunPan/fix-empty-cidr 2017-07-17 19:37:45 -07:00
service remove duplicated import and wrong alias name of api package 2017-07-25 10:04:25 +08:00
serviceaccount Fix registered ownerName in prometheus 2017-07-26 21:25:52 +08:00
statefulset Fix usage a make(struct, len()) followed by append() 2017-07-31 14:43:29 -04:00
ttl Migrate api.Scheme to scheme.Scheme 2017-07-17 15:05:38 -07:00
volume remove duplicated import and wrong alias name of api package 2017-07-25 10:04:25 +08:00
.import-restrictions add import restrictions 2016-10-13 16:10:24 -07:00
BUILD Merge pull request #46514 from ravisantoshgudimetla/scheduler_taints_refactor 2017-07-21 22:23:24 -07:00
client_builder.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
controller_ref_manager.go Export BaseControllerRefManager 2017-07-17 22:36:51 +02:00
controller_ref_manager_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
controller_utils.go Merge pull request #46514 from ravisantoshgudimetla/scheduler_taints_refactor 2017-07-21 22:23:24 -07:00
controller_utils_test.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07: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