Skip to content

Commit

Permalink
Fix creds controller dismissed error
Browse files Browse the repository at this point in the history
  • Loading branch information
zerospiel committed Dec 10, 2024
1 parent 0cb2464 commit 581d1be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/controller/credential_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ type CredentialReconciler struct {
client.Client
}

func (r *CredentialReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
func (r *CredentialReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, err error) {
l := ctrl.LoggerFrom(ctx)
l.Info("Credential reconcile start")
var err error

cred := &hmc.Credential{}
if err := r.Client.Get(ctx, req.NamespacedName, cred); err != nil {
Expand Down

0 comments on commit 581d1be

Please sign in to comment.