Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
wpjunior committed Sep 4, 2024
1 parent 783cdfc commit 53f470e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions internal/controllers/certificates/cert_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,6 @@ func removeOldCertificates(ctx context.Context, c client.Client, instance, insta
return err
}

certName := cert.Labels[CertificateNameLabel]
if certName == "" {
certName = CertManagerCertificateName
}

if err = c.Delete(ctx, &cert); err != nil {
return err
}
Expand Down

0 comments on commit 53f470e

Please sign in to comment.