Skip to content

Commit

Permalink
avoid implying that the error can be anything but nil (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
squeedee committed Aug 29, 2023
1 parent 55557b2 commit 5be8c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reconcilers/child.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ func (r *ChildReconciler[T, CT, CLT]) Reconcile(ctx context.Context, resource T)
log.Error(err, "unable to reconcile child")
return Result{}, err
}
r.ReflectChildStatusOnParent(ctx, resource, child, err)
r.ReflectChildStatusOnParent(ctx, resource, child, nil)

return Result{}, nil
}
Expand Down

0 comments on commit 5be8c31

Please sign in to comment.