Change searchs with searches

This commit is contained in:
Manuel de Brito Fontes 2017-02-05 19:41:05 -03:00
parent bf8e2e91b2
commit 80a0481550
2 changed files with 2 additions and 2 deletions

View file

@ -330,7 +330,7 @@ func (ic GenericController) GetDefaultBackend() defaults.Backend {
return ic.cfg.Backend.BackendDefaults()
}
// GetSecret searchs for a secret in the local secrets Store
// GetSecret searches for a secret in the local secrets Store
func (ic GenericController) GetSecret(name string) (*api.Secret, error) {
s, exists, err := ic.secrLister.Store.GetByKey(name)
if err != nil {