Skip to content

Commit

Permalink
revert unnecessary changes
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
  • Loading branch information
crenshaw-dev committed Sep 10, 2024
1 parent b9e230c commit 3d7ced3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cache/references.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func mightHaveInferredOwner(r *Resource) bool {
return r.Ref.GroupVersionKind().Group == "" && r.Ref.Kind == kube.PersistentVolumeClaimKind
}

func (c clusterCache) resolveResourceReferences(un *unstructured.Unstructured) ([]metav1.OwnerReference, func(kube.ResourceKey) bool) {
func (c *clusterCache) resolveResourceReferences(un *unstructured.Unstructured) ([]metav1.OwnerReference, func(kube.ResourceKey) bool) {
var isInferredParentOf func(_ kube.ResourceKey) bool
ownerRefs := un.GetOwnerReferences()
gvk := un.GroupVersionKind()
Expand Down

0 comments on commit 3d7ced3

Please sign in to comment.