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
commit d12da90232
1 changed files with 1 additions and 1 deletions

View File

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