Skip to content

Commit

Permalink
Fix log message in certificate approval ctrl (#672)
Browse files Browse the repository at this point in the history
  • Loading branch information
adracus authored Mar 14, 2023
1 parent b75c5d6 commit e571bbf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/controllers/core/certificateapproval_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ func (r *CertificateApprovalReconciler) Reconcile(ctx context.Context, req ctrl.
if err := r.Client.SubResource("approval").Update(ctx, csr); err != nil {
return ctrl.Result{}, fmt.Errorf("error updating approval for certificate signing request: %w", err)
}

log.V(1).Info("Approved certificate", "Subresource", permission.Subresource)
return ctrl.Result{}, nil
}
}
if len(tried) > 0 {
Expand Down

0 comments on commit e571bbf

Please sign in to comment.