Skip to content

Commit

Permalink
fix: do not requeue (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
yetone authored Aug 16, 2024
1 parent 3d40e3c commit decbb4b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions controllers/resources/bentorequest_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,7 @@ func (r *BentoRequestReconciler) Reconcile(ctx context.Context, req ctrl.Request
if err != nil {
return
}
result = ctrl.Result{
Requeue: true,
}
return
bentoAvailableCondition = meta.FindStatusCondition(bentoRequest.Status.Conditions, resourcesv1alpha1.BentoRequestConditionTypeBentoAvailable)

Check failure on line 207 in controllers/resources/bentorequest_controller.go

View workflow job for this annotation

GitHub Actions / golint

SA4006: this value of `bentoAvailableCondition` is never used (staticcheck)
}

separateModels := isSeparateModels(bentoRequest)
Expand Down

0 comments on commit decbb4b

Please sign in to comment.