Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Pavol Loffay <[email protected]>
  • Loading branch information
pavolloffay committed Feb 24, 2022
1 parent b9d5fbe commit 039a508
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions pkg/controller/elasticsearch/elasticsearch_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,6 @@ func (r *ReconcileElasticsearch) Reconcile(ctx context.Context, request reconcil
jaegers := &v1.JaegerList{}
err = r.rClient.List(ctx, jaegers, client.InNamespace(request.Namespace))
if err != nil {
if errors.IsNotFound(err) {
// Request object not found, could have been deleted after reconcile request.
// Owned objects are automatically garbage collected. For additional cleanup logic use finalizers.
// Return and don't requeue
return reconcile.Result{}, nil
}
// Error reading the object - requeue the request.
return reconcile.Result{}, tracing.HandleError(err, span)
}

Expand Down

0 comments on commit 039a508

Please sign in to comment.