summaryrefslogtreecommitdiff
path: root/cmd/kpod/run.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2017-11-09 13:54:48 -0500
committerMatthew Heon <matthew.heon@gmail.com>2017-11-18 12:58:48 -0500
commit4bc3acc7aa8037becdf892a9b083e133b090e04e (patch)
tree47e2dc42bc2ea5adeae0bb1aac611b0622867750 /cmd/kpod/run.go
parent763e3726493c122d9722e0e294634ae8d78c426b (diff)
downloadpodman-4bc3acc7aa8037becdf892a9b083e133b090e04e.tar.gz
podman-4bc3acc7aa8037becdf892a9b083e133b090e04e.tar.bz2
podman-4bc3acc7aa8037becdf892a9b083e133b090e04e.zip
Rename Create to Init for containers to be less confusing
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Diffstat (limited to 'cmd/kpod/run.go')
-rw-r--r--cmd/kpod/run.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/kpod/run.go b/cmd/kpod/run.go
index 87ff2d035..35e2d0be7 100644
--- a/cmd/kpod/run.go
+++ b/cmd/kpod/run.go
@@ -83,7 +83,7 @@ func runCmd(c *cli.Context) error {
}
logrus.Debug("new container created ", ctr.ID())
- if err := ctr.Create(); err != nil {
+ if err := ctr.Init(); err != nil {
return err
}
logrus.Debug("container storage created for %q", ctr.ID())