certs: remove always nil error from New signature

This commit is contained in:
Mike Danese
2017-10-23 11:31:10 -07:00
parent 1213f9112b
commit 1181a88cf2
6 changed files with 7 additions and 19 deletions

View File

@@ -77,14 +77,11 @@ func Run(s *GKECertificatesController) error {
return err
}
controller, err := certificates.NewCertificateController(
controller := certificates.NewCertificateController(
client,
sharedInformers.Certificates().V1beta1().CertificateSigningRequests(),
signer.handle,
)
if err != nil {
return err
}
sharedInformers.Start(nil)
controller.Run(5, nil) // runs forever