Merge pull request #232 from aledbf/fix-spell

Change searchs with searches
This commit is contained in:
Manuel Alejandro de Brito Fontes 2017-02-06 11:15:22 -03:00 committed by GitHub
commit 016f3a2bc7
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() 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) { func (ic GenericController) GetSecret(name string) (*api.Secret, error) {
s, exists, err := ic.secrLister.Store.GetByKey(name) s, exists, err := ic.secrLister.Store.GetByKey(name)
if err != nil { if err != nil {

View file

@ -28,7 +28,7 @@ type DefaultBackend interface {
GetDefaultBackend() defaults.Backend GetDefaultBackend() defaults.Backend
} }
// Secret has a method that searchs for secrets contenating // Secret has a method that searches for secrets contenating
// the namespace and name using a the character / // the namespace and name using a the character /
type Secret interface { type Secret interface {
GetSecret(string) (*api.Secret, error) GetSecret(string) (*api.Secret, error)