Skip to content

Commit

Permalink
Return correct certificate error
Browse files Browse the repository at this point in the history
Due to this bug any e2e test was silently pass starting from v1.7 version of
the cert manager.
  • Loading branch information
Rafal Korepta committed Feb 8, 2023
1 parent 34f4a9b commit 2af9b67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/verify/deployments.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func (o *Options) Execute() error {
if result.CertificateError != nil {
logrus.
Infof("error when waiting for certificate to be ready: %v\n", result.CertificateError)
return err
return result.CertificateError
}
logrus.Info("ヽ(•‿•)ノ Cert-manager is READY!\n")
return nil
Expand Down

0 comments on commit 2af9b67

Please sign in to comment.