aboutsummaryrefslogtreecommitdiff
path: root/libpod/runtime_ctr.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2017-11-01 15:30:35 -0400
committerGitHub <noreply@github.com>2017-11-01 15:30:35 -0400
commitd7782cc31e809d8e1551f47a0ddb0ff8073005fc (patch)
tree625fdeaf51ffced387b4ba2e48d93288f3f1b9b2 /libpod/runtime_ctr.go
parentf5019df3f5da9030ce21e5c8ad3d3921a6585e7f (diff)
parent8cf07b2ad1ed8c6646c48a74e9ecbb2bfeecb322 (diff)
downloadpodman-d7782cc31e809d8e1551f47a0ddb0ff8073005fc.tar.gz
podman-d7782cc31e809d8e1551f47a0ddb0ff8073005fc.tar.bz2
podman-d7782cc31e809d8e1551f47a0ddb0ff8073005fc.zip
Merge pull request #2 from baude/create
libpod create and run
Diffstat (limited to 'libpod/runtime_ctr.go')
-rw-r--r--libpod/runtime_ctr.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/libpod/runtime_ctr.go b/libpod/runtime_ctr.go
index 45990d2db..a1351e1d7 100644
--- a/libpod/runtime_ctr.go
+++ b/libpod/runtime_ctr.go
@@ -22,7 +22,6 @@ type ContainerFilter func(*Container) bool
func (r *Runtime) NewContainer(spec *spec.Spec, options ...CtrCreateOption) (ctr *Container, err error) {
r.lock.Lock()
defer r.lock.Unlock()
-
if !r.valid {
return nil, ErrRuntimeStopped
}