From 4a839fa6d3d7d6cb2b54a0cbc32bb789b2e680d9 Mon Sep 17 00:00:00 2001 From: drfish Date: Tue, 29 Dec 2020 23:20:18 +0800 Subject: [PATCH] Fix typos in garbagecollector_test.go --- pkg/controller/garbagecollector/garbagecollector_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/controller/garbagecollector/garbagecollector_test.go b/pkg/controller/garbagecollector/garbagecollector_test.go index 1ad9101aaee..de037e7409a 100644 --- a/pkg/controller/garbagecollector/garbagecollector_test.go +++ b/pkg/controller/garbagecollector/garbagecollector_test.go @@ -865,8 +865,8 @@ func TestGarbageCollectorSync(t *testing.T) { // Setting the period to 200ms allows the WaitForCacheSync() to check // for cache sync ~2 times in every wait.PollImmediateUntil() loop. // - // The 1s sleep in the test allows GetDelableResources and - // gc.resyncMoitors to run ~5 times to ensure the changes to the + // The 1s sleep in the test allows GetDeletableResources and + // gc.resyncMonitors to run ~5 times to ensure the changes to the // fakeDiscoveryClient are picked up. go gc.Sync(fakeDiscoveryClient, 200*time.Millisecond, stopCh)