fix indent issue
This commit is contained in:
parent
c97e62aa01
commit
a436a323a9
1 changed files with 1 additions and 1 deletions
|
@ -1054,7 +1054,7 @@ func (s *k8sStore) GetIngressClass(ing *networkingv1.Ingress, icConfig *ingressc
|
||||||
if icConfig.AnnotationValue == *ing.Spec.IngressClassName {
|
if icConfig.AnnotationValue == *ing.Spec.IngressClassName {
|
||||||
return *ing.Spec.IngressClassName, nil
|
return *ing.Spec.IngressClassName, nil
|
||||||
} else {
|
} else {
|
||||||
return "", errors.Errorf("Cannot validate ing.Spec.IngressClassName: %s due to lack of permission on cluter resource IngressClass", *ing.Spec.IngressClassName)
|
return "", errors.Errorf("lack of permission on cluter resource IngressClass: %s", *ing.Spec.IngressClassName)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
iclass, err := s.listers.IngressClass.ByKey(*ing.Spec.IngressClassName)
|
iclass, err := s.listers.IngressClass.ByKey(*ing.Spec.IngressClassName)
|
||||||
|
|
Loading…
Reference in a new issue