Skip to content

Commit

Permalink
Merge pull request #334 from mrunalp/remove_state_dir
Browse files Browse the repository at this point in the history
Remove the state directory as we now have a state operation instead
  • Loading branch information
crosbymichael committed Mar 8, 2016
2 parents 5a606f4 + 16c0995 commit 3b7c15d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions config_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ package specs

import "os"

// LinuxStateDirectory holds the container's state information
const LinuxStateDirectory = "/run/opencontainer/containers"

// LinuxSpec is the full specification for linux containers.
type LinuxSpec struct {
Spec
Expand Down
3 changes: 0 additions & 3 deletions state.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
package specs

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

0 comments on commit 3b7c15d

Please sign in to comment.