Rename `version` to `ociVersion` according to runtime.md
According to definition of [state](runtime.md#State), we should rename `version` field in `state.go` to `ociVersion` Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
This commit is contained in:
parent
9ce258d034
commit
c8f5a56909
|
@ -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