1
0
mirror of https://github.com/opencontainers/runtime-spec.git synced 2026-02-05 18:45:18 +01:00

Merge pull request #633 from WeiZhang555/syncup-hook-state

Rename `version` to `ociVersion` according to runtime.md
This commit is contained in:
Vincent Batts
2016-12-06 11:10:37 -05:00
committed by GitHub

View File

@@ -3,7 +3,7 @@ package specs
// State holds information about the runtime state of the container.
type State struct {
// Version is the version of the specification that is supported.
Version string `json:"version"`
Version string `json:"ociVersion"`
// ID is the container ID
ID string `json:"id"`
// Status is the runtime state of the container.