aboutsummaryrefslogtreecommitdiff
path: root/libpod/container_inspect.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-07-20 08:49:30 -0400
committerMatthew Heon <matthew.heon@gmail.com>2018-07-24 16:12:31 -0400
commit486c5c87bca028ba41dfb9f516ae37b9d6a984cb (patch)
tree2279b83bf0237dda62434d0e7a1267936323e15b /libpod/container_inspect.go
parent7a358e427738294180a14b1298dfc3a569f0e0fc (diff)
downloadpodman-486c5c87bca028ba41dfb9f516ae37b9d6a984cb.tar.gz
podman-486c5c87bca028ba41dfb9f516ae37b9d6a984cb.tar.bz2
podman-486c5c87bca028ba41dfb9f516ae37b9d6a984cb.zip
Add missing runtime.go lines to set namespace
Also add namespace to inspect output to verify its presence Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
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 a1070cf99..dec0b47b4 100644
--- a/libpod/container_inspect.go
+++ b/libpod/container_inspect.go
@@ -69,6 +69,7 @@ func (c *Container) getContainerInspectData(size bool, driverData *inspect.Data)
ImageID: config.RootfsImageID,
ImageName: config.RootfsImageName,
ExitCommand: config.ExitCommand,
+ Namespace: config.Namespace,
Rootfs: config.Rootfs,
ResolvConfPath: resolvPath,
HostnamePath: hostnamePath,