Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

customresouce: clean up the storage constructor #110130

Merged

Commits on May 19, 2022

  1. customresouce: clean up the storage constructor

    The distinction between Storage and REST was lost when the constructor
    for the latter began to do almost but not all of the former. No other
    callers exist for newREST(), so merging the constructors allows us to be
    more clear with what we're constructing and keeps us from
    shallow-copying the genericregistry.Store every time even when no status
    subresource is requested.
    
    Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
    stevekuznetsov committed May 19, 2022
    Configuration menu
    Copy the full SHA
    37bb067 View commit details
    Browse the repository at this point in the history