Skip to content

Commit e2c4c0a

Browse files
authored
Merge pull request #1056 from RenaudWasTaken/container-state
Update State structure to use the new ContainerState type
2 parents 643c142 + a02a293 commit e2c4c0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

specs-go/state.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ type State struct {
2525
// ID is the container ID
2626
ID string `json:"id"`
2727
// Status is the runtime status of the container.
28-
Status string `json:"status"`
28+
Status ContainerState `json:"status"`
2929
// Pid is the process ID for the container process.
3030
Pid int `json:"pid,omitempty"`
3131
// Bundle is the path to the container's bundle directory.

0 commit comments

Comments
 (0)