Merge pull request #633 from WeiZhang555/syncup-hook-state
Rename `version` to `ociVersion` according to runtime.md
This commit is contained in:
commit
d12da90232
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue