Browse Source

Merge pull request #2576 from r2k1/optimization2

Fix pod cache initialization
Ajay Tripathy 2 years ago
parent
commit
b3ac7e2c6a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/clustercache/clustercache.go

+ 1 - 1
pkg/clustercache/clustercache.go

@@ -147,7 +147,7 @@ func NewKubernetesClusterCache(client kubernetes.Interface) ClusterCache {
 		go initializeCache(kcc.pvcWatch, &wg, cancel)
 		go initializeCache(kcc.storageClassWatch, &wg, cancel)
 		go initializeCache(kcc.jobsWatch, &wg, cancel)
-		go initializeCache(kcc.podWatch, &wg, cancel)
+		go initializeCache(kcc.pdbWatch, &wg, cancel)
 		go initializeCache(kcc.replicationControllerWatch, &wg, cancel)
 	}