1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00

fix: remove unnecessary nil check (#3899)

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
This commit is contained in:
Gergely Brautigam 2024-09-10 20:32:12 +02:00 committed by GitHub
parent 93a3ed3abc
commit edb50666ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -211,10 +211,10 @@ func waitForCerts(c crds.CertInfo, timeout time.Duration) error {
if err == nil {
return nil
}
if err != nil {
setupLog.Error(err, "invalid certs. retrying...")
<-time.After(time.Second * 10)
}
setupLog.Error(err, "invalid certs. retrying...")
<-time.After(time.Second * 10)
if ctx.Err() != nil {
return ctx.Err()
}