Skip to content

Commit

Permalink
Merge pull request #2767 from aledbf/fix-regression
Browse files Browse the repository at this point in the history
Fix regression introduced in #2732
  • Loading branch information
k8s-ci-robot authored Jul 10, 2018
2 parents 2d5b3db + 6013150 commit bdd2c5e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion internal/ingress/controller/store/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,12 @@ func (s k8sStore) ListIngresses() []*extensions.Ingress {

// GetIngressAnnotations returns the parsed annotations of an Ingress matching key.
func (s k8sStore) GetIngressAnnotations(key string) (*annotations.Ingress, error) {
return s.listers.IngressAnnotation.ByKey(key)
ia, err := s.listers.IngressAnnotation.ByKey(key)
if err != nil {
return &annotations.Ingress{}, err
}

return ia, nil
}

// GetLocalSSLCert returns the local copy of a SSLCert
Expand Down

0 comments on commit bdd2c5e

Please sign in to comment.