From c8f5a56909dfd51c54ab866570bcc53d36cb3a81 Mon Sep 17 00:00:00 2001 From: Zhang Wei Date: Mon, 28 Nov 2016 11:35:16 +0800 Subject: [PATCH] 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 --- specs-go/state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs-go/state.go b/specs-go/state.go index ad31b893..a74874ed 100644 --- a/specs-go/state.go +++ b/specs-go/state.go @@ -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.