From 6bb7b62ccd8cfac40e9b38e92bdf29deb3136ad1 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 28 Oct 2024 17:46:52 -0400 Subject: [PATCH] spelling: hierarchical Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- pkg/k8s/managedfields.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/k8s/managedfields.go b/pkg/k8s/managedfields.go index 28c2875404..ad03a7da66 100644 --- a/pkg/k8s/managedfields.go +++ b/pkg/k8s/managedfields.go @@ -178,7 +178,7 @@ func OverlayManagedFieldsOntoState(spec, stateAsKRM map[string]interface{}, mana // resource supports hierarchical references. We do this because // overlayManagedFieldsOntoState() strips out the hierarchical reference if // it was defaulted by the KCC webhook/controller. This is because the - // resource's managedFields metadata doesn't include the hierarchcial + // resource's managedFields metadata doesn't include the hierarchical // reference if it was defaulted by KCC rather than explicitly set by the // user. Since we know that a resource's hierarchical reference is part of // the desired state even if it's not in the managedFields metadata, let's