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

Include OS version and features in OCI platforms #4387

Merged

Commits on Nov 3, 2023

  1. Whenever copying OCI Platform data, include OSVersion and OSFeatures

    Trivially created by looking for every reference to .Variant and adding
    OSVersion and OSFeatures, except the ones related to the string
    representation of a Platform instance.
    
    I then went through and ensured every assignment of OSFeatures that
    might leak out, i.e., not local-only or for marhsalling purposes, uses
    the append-to-nil idiom to avoid sharing the slice storage and allowing
    accidental mutation after-the-fact.
    
    Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
    TBBle committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    98e0d8d View commit details
    Browse the repository at this point in the history