Skip to content

Commit c8f5a56

Browse files
committed
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 <[email protected]>
1 parent 9ce258d commit c8f5a56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

specs-go/state.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package specs
33
// State holds information about the runtime state of the container.
44
type State struct {
55
// Version is the version of the specification that is supported.
6-
Version string `json:"version"`
6+
Version string `json:"ociVersion"`
77
// ID is the container ID
88
ID string `json:"id"`
99
// Status is the runtime state of the container.

0 commit comments

Comments
 (0)