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

Always use p.GetType(), not p.Type #77

Merged
merged 1 commit into from
Jan 9, 2024
Merged

Commits on Jan 9, 2024

  1. Always use p.GetType(), not p.Type

    GetType returns a default value if p.Type is empty. In upstream c/c CRD
    defaulting does this for us, but we can't rely on that here since our
    input is not a 'real' API object.
    
    Signed-off-by: Nic Cope <[email protected]>
    negz committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    fa41741 View commit details
    Browse the repository at this point in the history