fixed unitest error
This commit is contained in:
parent
bd7f2e89fe
commit
a4a5367732
1 changed files with 1 additions and 1 deletions
|
@ -1055,7 +1055,7 @@ func (s *k8sStore) GetIngressClass(ing *networkingv1.Ingress, icConfig *ingressc
|
|||
return *ing.Spec.IngressClassName, nil
|
||||
}
|
||||
|
||||
return "", errors.Errorf("lack of permission on cluster resource IngressClass: %s", *ing.Spec.IngressClassName)
|
||||
return "", errors.Errorf("lack of permission on cluster IngressClass: %s, %s", *ing.Spec.IngressClassName, icConfig.AnnotationValue)
|
||||
}
|
||||
iclass, err := s.listers.IngressClass.ByKey(*ing.Spec.IngressClassName)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue