Fix indent issue

This commit is contained in:
Gong Yongjie 2024-04-06 02:26:36 -04:00
commit 5ff4253ba2

View file

@ -1052,7 +1052,7 @@ func (s *k8sStore) GetIngressClass(ing *networkingv1.Ingress, icConfig *ingressc
if ing.Spec.IngressClassName != nil {
if icConfig.IgnoreIngressClass && icConfig.AnnotationValue == *ing.Spec.IngressClassName {
return *ing.Spec.IngressClassName, nil
}
}
iclass, err := s.listers.IngressClass.ByKey(*ing.Spec.IngressClassName)
if err != nil {
return "", err