Skip to content

Commit

Permalink
Change searchs with searches
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf committed Feb 5, 2017
1 parent bf8e2e9 commit 80a0481
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/pkg/ingress/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion core/pkg/ingress/resolver/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type DefaultBackend interface {
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 /
type Secret interface {
GetSecret(string) (*api.Secret, error)
Expand Down

0 comments on commit 80a0481

Please sign in to comment.