fix some spelling error

This commit is contained in:
yameiwang 2019-05-25 06:51:31 +08:00
parent 914f80d671
commit 23b7d5e606
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ func (test setConfigTest) run(t *testing.T) {
}
if len(test.expected) != 0 {
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) {

View File

@ -129,7 +129,7 @@ func NewCachingSecretManager(kubeClient clientset.Interface, getTTL manager.GetO
// NewWatchingSecretManager creates a manager that keeps a cache of all secrets
// necessary for registered pods.
// 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
// - every GetObject() returns a value from local cache propagated via watches
func NewWatchingSecretManager(kubeClient clientset.Interface) Manager {