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

Add ImageLayoutVersion const #414

Merged
merged 1 commit into from
Dec 7, 2016

Commits on Dec 1, 2016

  1. Add ImageLayoutVersion const

    Add a ImageLayoutVersion = 1.0.0 const so implementation can
    refer to rather than hard code in implementation just like
    https://github.com/containers/image/blob/master/oci/layout/oci_dest.go#L173
    ```
    if err := ioutil.WriteFile(d.ref.ociLayoutPath(), []byte(`{"imageLayoutVersion": "1.0.0"}`), 0644); err != nil {
                 return err
    }
    ```
    
    Signed-off-by: Lei Jitang <leijitang@huawei.com>
    coolljt0725 committed Dec 1, 2016
    Configuration menu
    Copy the full SHA
    148bc6c View commit details
    Browse the repository at this point in the history