Don't remove ingress config on API call failure
This commit is contained in:
parent
8d4620dc53
commit
c2c4dc9b58
4 changed files with 19 additions and 19 deletions
|
@ -189,11 +189,7 @@ func (p *Provider) loadConfigurationFromIngresses(ctx context.Context, client Cl
|
|||
TCP: &dynamic.TCPConfiguration{},
|
||||
}
|
||||
|
||||
serverVersion, err := client.GetServerVersion()
|
||||
if err != nil {
|
||||
log.FromContext(ctx).Errorf("Failed to get server version: %v", err)
|
||||
return conf
|
||||
}
|
||||
serverVersion := client.GetServerVersion()
|
||||
|
||||
var ingressClasses []*networkingv1beta1.IngressClass
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue