From 9150e6b55a1f48e5b98f11c19d6e34b7ce6a6d2b Mon Sep 17 00:00:00 2001 From: RuquanZhao Date: Wed, 10 May 2023 10:22:52 +0800 Subject: [PATCH] s/of referencedFrom/from referenceFrom/ Signed-off-by: Ruquan Zhao --- pkg/kubelet/util/manager/manager.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/kubelet/util/manager/manager.go b/pkg/kubelet/util/manager/manager.go index 7c5c908a824..99f10a1dfa1 100644 --- a/pkg/kubelet/util/manager/manager.go +++ b/pkg/kubelet/util/manager/manager.go @@ -47,11 +47,11 @@ type Manager interface { // Store is the interface for a object cache that // can be used by cacheBasedManager. type Store interface { - // AddReference adds a reference of referencedFrom to the object to the store. + // AddReference adds a reference from referencedFrom to the object to the store. // Note that multiple additions to the store has to be allowed // in the implementations and effectively treated as refcounted. AddReference(namespace, name string, referencedFrom types.UID) - // DeleteReference deletes a reference of referencedFrom to the object from the store. + // DeleteReference deletes a reference from referencedFrom to the object from the store. // Note that object should be deleted only when there was a // corresponding Delete call for each of Add calls (effectively // when refcount of every referenceFrom was reduced to zero).