summaryrefslogtreecommitdiff
path: root/libpod/runtime_ctr.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2017-11-29 16:58:55 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2017-11-30 02:03:23 +0000
commit1f9c8942f1c384db6cf4093eeccfdd80d5ef6c3f (patch)
tree27a67b82745172a59fd0e4c61f57967b0f1b496a /libpod/runtime_ctr.go
parent742475885eee9a21232f24aa7528eb5e0022a42f (diff)
downloadpodman-1f9c8942f1c384db6cf4093eeccfdd80d5ef6c3f.tar.gz
podman-1f9c8942f1c384db6cf4093eeccfdd80d5ef6c3f.tar.bz2
podman-1f9c8942f1c384db6cf4093eeccfdd80d5ef6c3f.zip
Add randomly generates container names
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #88 Approved by: baude
Diffstat (limited to 'libpod/runtime_ctr.go')
-rw-r--r--libpod/runtime_ctr.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/runtime_ctr.go b/libpod/runtime_ctr.go
index 594e35dc5..58074cc43 100644
--- a/libpod/runtime_ctr.go
+++ b/libpod/runtime_ctr.go
@@ -69,7 +69,7 @@ func (r *Runtime) NewContainer(spec *spec.Spec, options ...CtrCreateOption) (c *
}()
if err := r.state.AddContainer(ctr); err != nil {
- // TODO: Might be worth making an effort to detect duplicate IDs
+ // TODO: Might be worth making an effort to detect duplicate IDs and names
// We can recover from that by generating a new ID for the
// container
return nil, errors.Wrapf(err, "error adding new container to state")