If one doesn't DeepCopy() on the way into Create, we can end up writing into the original object. This is by design, and should not be a problem EXCEPT for tests. If a test compares the input to this function with the result, but the input was mutated in-situ, it may hide errors, resulting in tests that pass, but shouldn't. Kubernetes-commit: 6dfae64d9bebb2c40680bbd6e8270f69839ab013 |
||
|---|---|---|
| .. | ||
| registry | ||
| rest | ||
| testing | ||
| OWNERS | ||
| doc.go | ||
| matcher.go | ||
| options.go | ||
| storage_decorator.go | ||