kcp-dev / code-generator

Generators for workspace-aware clientsets, informers, and listers
Apache License 2.0
4 stars 11 forks source link

:sparkles: clientgen: correctly initialize fake #61

Closed stevekuznetsov closed 2 years ago

stevekuznetsov commented 2 years ago

We need a pointer to this, as it contains a lock and shared state we reference by passing the thing around. We need to initialize it, therefore.

Signed-off-by: Steve Kuznetsov skuznets@redhat.com

openshift-ci[bot] commented 2 years ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ncdc

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kcp-dev/code-generator/blob/main/OWNERS)~~ [ncdc] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment