From a02a2938c41f330778505808daad2db1c1f17a9d Mon Sep 17 00:00:00 2001 From: Renaud Gaubert Date: Tue, 21 Jul 2020 07:08:52 +0000 Subject: [PATCH] Update State structure to use the new ContainerState type Signed-off-by: Renaud Gaubert --- 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 765300f4d..e2e64c663 100644 --- a/specs-go/state.go +++ b/specs-go/state.go @@ -25,7 +25,7 @@ type State struct { // ID is the container ID ID string `json:"id"` // Status is the runtime status of the container. - Status string `json:"status"` + Status ContainerState `json:"status"` // Pid is the process ID for the container process. Pid int `json:"pid,omitempty"` // Bundle is the path to the container's bundle directory.