summaryrefslogtreecommitdiff
path: root/libpod/container_inspect.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-03-31 20:18:03 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-04-03 14:57:16 +0000
commit0fb38659b7f87ee021d79dd9b2e2142a86c55deb (patch)
tree9580f936137b1b895b42d421964f02e7d68c279a /libpod/container_inspect.go
parenta1c0f18bcac9e0b21b4abbb4e49bea4336842e4e (diff)
downloadpodman-0fb38659b7f87ee021d79dd9b2e2142a86c55deb.tar.gz
podman-0fb38659b7f87ee021d79dd9b2e2142a86c55deb.tar.bz2
podman-0fb38659b7f87ee021d79dd9b2e2142a86c55deb.zip
Add container dependencies to Inspect output
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #577 Approved by: rhatdan
Diffstat (limited to 'libpod/container_inspect.go')
-rw-r--r--libpod/container_inspect.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/container_inspect.go b/libpod/container_inspect.go
index 0fdce13c0..b3e8ebeb9 100644
--- a/libpod/container_inspect.go
+++ b/libpod/container_inspect.go
@@ -77,6 +77,7 @@ func (c *Container) getContainerInspectData(size bool, driverData *inspect.Data)
ExecIDs: execIDs,
GraphDriver: driverData,
Mounts: spec.Mounts,
+ Dependencies: c.Dependencies(),
NetworkSettings: &inspect.NetworkSettings{
Bridge: "", // TODO
SandboxID: "", // TODO - is this even relevant?