Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
sbueringer committed Sep 7, 2022
1 parent 6f90ec9 commit 756c3e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/clusterctl/client/cluster/cert_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ package cluster
import (
"context"
_ "embed"
"fmt"
"time"

"github.com/blang/semver"
Expand Down Expand Up @@ -549,7 +550,7 @@ func (cm *certManagerClient) waitForAPIReady(_ context.Context, retry bool) erro
// yet, so we need to keep retrying until it is.
if err := cm.pollImmediateWaiter(waitCertManagerInterval, cm.getWaitTimeout(), func() (bool, error) {
if err := cm.createObj(o); err != nil {
log.V(5).Error(err, "Creation failed", logf.UnstructuredToValues(o)...)
log.V(5).Info(fmt.Sprintf("Creation failed: %v", err), logf.UnstructuredToValues(o)...)
// If retrying is disabled, return the error here.
if !retry {
return false, err
Expand Down

0 comments on commit 756c3e5

Please sign in to comment.