From b3fc8a37957a5d6d92b526e0a02f6e3a978df30c Mon Sep 17 00:00:00 2001 From: Nikhita Raghunath Date: Sun, 8 Oct 2017 20:51:12 +0530 Subject: [PATCH] kubectl-apply doc: fix link to api types (#5799) --- .../declarative-object-management-configuration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorials/object-management-kubectl/declarative-object-management-configuration.md b/docs/tutorials/object-management-kubectl/declarative-object-management-configuration.md index 9d6ba10ee5..e9b320c44d 100644 --- a/docs/tutorials/object-management-kubectl/declarative-object-management-configuration.md +++ b/docs/tutorials/object-management-kubectl/declarative-object-management-configuration.md @@ -572,7 +572,7 @@ Add, delete, or update individual elements. This does not preserve ordering. This merge strategy uses a special tag on each field called a `patchMergeKey`. The `patchMergeKey` is defined for each field in the Kubernetes source code: -[types.go](https://git.k8s.io/kubernetes/pkg/api/v1/types.go#L2119) +[types.go](https://git.k8s.io/api/core/v1/types.go#L2565) When merging a list of maps, the field specified as the `patchMergeKey` for a given element is used like a map key for that element. @@ -646,7 +646,7 @@ by `name`. As of Kubernetes 1.5, merging lists of primitive elements is not supported. **Note:** Which of the above strategies is chosen for a given field is controlled by -the `patchStrategy` tag in [types.go](https://git.k8s.io/kubernetes/pkg/api/v1/types.go#L2119) +the `patchStrategy` tag in [types.go](https://git.k8s.io/api/core/v1/types.go#L2565) If no `patchStrategy` is specified for a field of type list, then the list is replaced.