Merge pull request #2767 from aledbf/fix-regression
Fix regression introduced in #2732
This commit is contained in:
commit
bdd2c5e3be
1 changed files with 6 additions and 1 deletions
|
@ -667,7 +667,12 @@ func (s k8sStore) ListIngresses() []*extensions.Ingress {
|
||||||
|
|
||||||
// GetIngressAnnotations returns the parsed annotations of an Ingress matching key.
|
// GetIngressAnnotations returns the parsed annotations of an Ingress matching key.
|
||||||
func (s k8sStore) GetIngressAnnotations(key string) (*annotations.Ingress, error) {
|
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
|
// GetLocalSSLCert returns the local copy of a SSLCert
|
||||||
|
|
Loading…
Reference in a new issue