mirror of https://github.com/knative/pkg.git
I noticed that the finalizer manipulation code was performing a second fetch of the resource from the lister cache to determine the differences in finalizers when the finalizers are being modify immediately above each callsite. This changes both call sites to simply pass through the "desired finalizers" as a new parameter (instead of assigning them), which lets us use the unmodified resource and avoid the redundant lister cache fetch. |
||
---|---|---|
.. | ||
client.go | ||
comment_parser.go | ||
comment_parser_test.go | ||
duck.go | ||
factory.go | ||
fake_client.go | ||
fake_duck.go | ||
fake_factory.go | ||
fake_filtered_factory.go | ||
fake_filtered_informer.go | ||
fake_informer.go | ||
filtered_factory.go | ||
filtered_informer.go | ||
informer.go | ||
namesystems.go | ||
packages.go | ||
reconciler_controller.go | ||
reconciler_controller_stub.go | ||
reconciler_reconciler.go | ||
reconciler_reconciler_stub.go | ||
reconciler_state.go |