-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 49898, 49897, 49919, 48860, 49491) 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. **Release note**: ```release-note NONE ```23bb7654
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| e2e | ||
| e2e_federation | ||
| e2e_node | ||
| fixtures | ||
| images | ||
| integration | ||
| kubemark | ||
| list | ||
| soak | ||
| utils | ||
| BUILD | ||
| OWNERS | ||
| test_owners.csv | ||
| test_owners.json |