Fix code comments function names (#2927)

Signed-off-by: eveneast <qcqs@foxmail.com>
This commit is contained in:
eveneast
2024-05-20 19:22:22 +05:30
committed by GitHub
parent 932be4eb38
commit 3e43c07e5a
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ func (ck CacheKeyURG) String() string {
return fmt.Sprintf("%v_%v_%v", ck.UID, ck.ResourceVersion, ck.Generation)
}
// CacheKeyForUID create a key that uniquely identifies the
// CacheKeyUIDFromMeta create a key that uniquely identifies the
// of the object. Since resourceVersion changes on every update and
// UIDs are unique, we don't use resource version here
func CacheKeyUIDFromMeta(metadata *metav1.ObjectMeta) types.UID {