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:
parent
93a3ed3abc
commit
edb50666ff
1 changed files with 4 additions and 4 deletions
|
@ -211,10 +211,10 @@ func waitForCerts(c crds.CertInfo, timeout time.Duration) error {
|
||||||
if err == nil {
|
if err == nil {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if err != nil {
|
|
||||||
setupLog.Error(err, "invalid certs. retrying...")
|
setupLog.Error(err, "invalid certs. retrying...")
|
||||||
<-time.After(time.Second * 10)
|
<-time.After(time.Second * 10)
|
||||||
}
|
|
||||||
if ctx.Err() != nil {
|
if ctx.Err() != nil {
|
||||||
return ctx.Err()
|
return ctx.Err()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue