Skip to content

Commit 3b7c15d

Browse files
committed
Merge pull request #334 from mrunalp/remove_state_dir
Remove the state directory as we now have a state operation instead
2 parents 5a606f4 + 16c0995 commit 3b7c15d

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

config_linux.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ package specs
22

33
import "os"
44

5-
// LinuxStateDirectory holds the container's state information
6-
const LinuxStateDirectory = "/run/opencontainer/containers"
7-
85
// LinuxSpec is the full specification for linux containers.
96
type LinuxSpec struct {
107
Spec

state.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
package specs
22

33
// State holds information about the runtime state of the container.
4-
// This information will be stored in a file called `state.json`.
5-
// The location of this file will be operating system specific. On Linux
6-
// it will be in `/run/opencontainers/runc/<containerID>/state.json`
74
type State struct {
85
// Version is the version of the specification that is supported.
96
Version string `json:"version"`

0 commit comments

Comments
 (0)