diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2017-11-09 13:54:48 -0500 |
---|---|---|
committer | Matthew Heon <matthew.heon@gmail.com> | 2017-11-18 12:58:48 -0500 |
commit | 4bc3acc7aa8037becdf892a9b083e133b090e04e (patch) | |
tree | 47e2dc42bc2ea5adeae0bb1aac611b0622867750 /libpod | |
parent | 763e3726493c122d9722e0e294634ae8d78c426b (diff) | |
download | podman-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 'libpod')
-rw-r--r-- | libpod/container.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/container.go b/libpod/container.go index c8a09fe9e..ffc4c6314 100644 --- a/libpod/container.go +++ b/libpod/container.go @@ -246,8 +246,8 @@ func (c *Container) teardownStorage() error { return nil } -// Create creates a container in the OCI runtime -func (c *Container) Create() (err error) { +// Init creates a container in the OCI runtime +func (c *Container) Init() (err error) { c.lock.Lock() defer c.lock.Unlock() |