Skip to content

Commit

Permalink
fix the payment controller start error (#5150)
Browse files Browse the repository at this point in the history
  • Loading branch information
bxy4543 authored Oct 12, 2024
1 parent f4ad702 commit ed4e7b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/account/controllers/payment_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func (r *PaymentReconciler) SetupWithManager(mgr ctrl.Manager) (err error) {
return fmt.Errorf("get account config failed: %w", err)
}
if len(r.accountConfig.DefaultDiscountSteps) == 0 {
return fmt.Errorf("default discount steps is empty")
r.Logger.Info("default discount steps is empty, use default value")
}
r.Logger.V(1).Info("account config", "config", r.accountConfig)
r.Logger.V(1).Info("reconcile duration", "reconcileDuration", r.reconcileDuration, "createDuration", r.createDuration)
Expand Down

0 comments on commit ed4e7b1

Please sign in to comment.