summaryrefslogtreecommitdiff
path: root/libpod/options.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2017-12-13 23:12:32 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-01-17 15:26:43 +0000
commit65d643caeb31364b59612f0f91be90894c65d703 (patch)
tree5899bac7ed634faa4f238332b9de896e4606aa74 /libpod/options.go
parent13f004aec5c70ca5be9f6c134566abd1e62ea660 (diff)
downloadpodman-65d643caeb31364b59612f0f91be90894c65d703.tar.gz
podman-65d643caeb31364b59612f0f91be90894c65d703.tar.bz2
podman-65d643caeb31364b59612f0f91be90894c65d703.zip
Change handling for pods in libpod state
Add new functions to update pods and add/remove containers from them Use these new functions in place of manually modifying pods Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #229 Approved by: rhatdan
Diffstat (limited to 'libpod/options.go')
-rw-r--r--libpod/options.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/libpod/options.go b/libpod/options.go
index a62a13053..4890c71ff 100644
--- a/libpod/options.go
+++ b/libpod/options.go
@@ -334,7 +334,6 @@ func (r *Runtime) WithPod(pod *Pod) CtrCreateOption {
}
ctr.config.Pod = pod.ID()
- ctr.pod = pod
return nil
}