diff --git a/cmd/clusterctl/client/cluster/cert_manager.go b/cmd/clusterctl/client/cluster/cert_manager.go index 66efa37b0e5e..d89696b4a0c2 100644 --- a/cmd/clusterctl/client/cluster/cert_manager.go +++ b/cmd/clusterctl/client/cluster/cert_manager.go @@ -99,7 +99,7 @@ func (cm *certManagerClient) EnsureWebhook() error { // Gets the cert-manager objects from the embedded assets. objs, err := cm.getManifestObjs() if err != nil { - return nil + return err } // installs the web-hook