Merge pull request #334 from mrunalp/remove_state_dir

Remove the state directory as we now have a state operation instead
This commit is contained in:
Michael Crosby 2016-03-08 10:39:30 -08:00
commit 3b7c15d90f
2 changed files with 0 additions and 6 deletions

View File

@ -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

View File

@ -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"`