From 16c09954b1c30f07373e27c6f204aacf9d9d2f40 Mon Sep 17 00:00:00 2001 From: Mrunal Patel Date: Tue, 8 Mar 2016 12:43:06 -0500 Subject: [PATCH] Remove the state directory as we now have a state operation instead Signed-off-by: Mrunal Patel --- config_linux.go | 3 --- state.go | 3 --- 2 files changed, 6 deletions(-) diff --git a/config_linux.go b/config_linux.go index f798a441..e6128f33 100644 --- a/config_linux.go +++ b/config_linux.go @@ -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 diff --git a/state.go b/state.go index a6633815..d3ad79d9 100644 --- a/state.go +++ b/state.go @@ -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//state.json` type State struct { // Version is the version of the specification that is supported. Version string `json:"version"`