mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Merge pull request #78303 from mysunshine92/fix-typo-0524
fix some spelling error
This commit is contained in:
		@@ -79,7 +79,7 @@ func (test setConfigTest) run(t *testing.T) {
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
	if len(test.expected) != 0 {
 | 
						if len(test.expected) != 0 {
 | 
				
			||||||
		if buf.String() != test.expected {
 | 
							if buf.String() != test.expected {
 | 
				
			||||||
			t.Errorf("Failded in:%q\n expected %v\n but got %v", test.description, test.expected, buf.String())
 | 
								t.Errorf("Failed in:%q\n expected %v\n but got %v", test.description, test.expected, buf.String())
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	if !reflect.DeepEqual(*config, test.expectedConfig) {
 | 
						if !reflect.DeepEqual(*config, test.expectedConfig) {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -129,7 +129,7 @@ func NewCachingSecretManager(kubeClient clientset.Interface, getTTL manager.GetO
 | 
				
			|||||||
// NewWatchingSecretManager creates a manager that keeps a cache of all secrets
 | 
					// NewWatchingSecretManager creates a manager that keeps a cache of all secrets
 | 
				
			||||||
// necessary for registered pods.
 | 
					// necessary for registered pods.
 | 
				
			||||||
// It implements the following logic:
 | 
					// It implements the following logic:
 | 
				
			||||||
// - whenever a pod is created or updated, we start inidvidual watches for all
 | 
					// - whenever a pod is created or updated, we start individual watches for all
 | 
				
			||||||
//   referenced objects that aren't referenced from other registered pods
 | 
					//   referenced objects that aren't referenced from other registered pods
 | 
				
			||||||
// - every GetObject() returns a value from local cache propagated via watches
 | 
					// - every GetObject() returns a value from local cache propagated via watches
 | 
				
			||||||
func NewWatchingSecretManager(kubeClient clientset.Interface) Manager {
 | 
					func NewWatchingSecretManager(kubeClient clientset.Interface) Manager {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user