Fix indent issue
This commit is contained in:
commit
5ff4253ba2
1 changed files with 1 additions and 1 deletions
|
@ -1052,7 +1052,7 @@ func (s *k8sStore) GetIngressClass(ing *networkingv1.Ingress, icConfig *ingressc
|
||||||
if ing.Spec.IngressClassName != nil {
|
if ing.Spec.IngressClassName != nil {
|
||||||
if icConfig.IgnoreIngressClass && icConfig.AnnotationValue == *ing.Spec.IngressClassName {
|
if icConfig.IgnoreIngressClass && icConfig.AnnotationValue == *ing.Spec.IngressClassName {
|
||||||
return *ing.Spec.IngressClassName, nil
|
return *ing.Spec.IngressClassName, nil
|
||||||
}
|
}
|
||||||
iclass, err := s.listers.IngressClass.ByKey(*ing.Spec.IngressClassName)
|
iclass, err := s.listers.IngressClass.ByKey(*ing.Spec.IngressClassName)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
|
|
Loading…
Reference in a new issue