summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorhaircommander <pehunt@redhat.com>2018-07-09 17:48:20 -0400
committerhaircommander <pehunt@redhat.com>2018-07-13 09:17:33 -0400
commita04a8d1dd4d375ebe5084bac760dc82f88cfc77f (patch)
tree4b02c7e49ec737c6e9ffd4412e5212b856df518c /pkg
parent1aad3fd96b61705243e8f6ae35f65946916aa8a5 (diff)
downloadpodman-a04a8d1dd4d375ebe5084bac760dc82f88cfc77f.tar.gz
podman-a04a8d1dd4d375ebe5084bac760dc82f88cfc77f.tar.bz2
podman-a04a8d1dd4d375ebe5084bac760dc82f88cfc77f.zip
Added full podman pod ps, with tests and man page
Signed-off-by: haircommander <pehunt@redhat.com>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/spec/createconfig.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/spec/createconfig.go b/pkg/spec/createconfig.go
index dbbf99325..57416732d 100644
--- a/pkg/spec/createconfig.go
+++ b/pkg/spec/createconfig.go
@@ -319,10 +319,10 @@ func (c *CreateConfig) GetContainerCreateOptions(runtime *libpod.Runtime) ([]lib
options = append(options, libpod.WithName(c.Name))
}
if c.Pod != "" {
- logrus.Debugf("appending to pod %s", c.Pod)
+ logrus.Debugf("adding container to pod %s", c.Pod)
pod, err := runtime.LookupPod(c.Pod)
if err != nil {
- return nil, errors.Wrapf(err, "unable to add container to pod")
+ return nil, errors.Wrapf(err, "unable to add container to pod %s", c.Pod)
}
options = append(options, runtime.WithPod(pod))
}