diff options
author | baude <bbaude@redhat.com> | 2018-03-22 10:17:50 -0500 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-03-23 15:35:37 +0000 |
commit | f7c8dd5836002f3bf85a7bbe6c949cdece5194df (patch) | |
tree | 6cee5a91ff32b016efcf8e9dbcff398b42ce5c4a /libpod/container_api.go | |
parent | 8ca3bcc85d6bbf05e7838b20bfb1ae74afa8d35d (diff) | |
download | podman-f7c8dd5836002f3bf85a7bbe6c949cdece5194df.tar.gz podman-f7c8dd5836002f3bf85a7bbe6c949cdece5194df.tar.bz2 podman-f7c8dd5836002f3bf85a7bbe6c949cdece5194df.zip |
Stage 4 Image cleanup
Cull funcs from runtime_img.go which are no longer needed. Also, fix any remaining
spots that use the old image technique.
Signed-off-by: baude <bbaude@redhat.com>
Closes: #532
Approved by: mheon
Diffstat (limited to 'libpod/container_api.go')
-rw-r--r-- | libpod/container_api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_api.go b/libpod/container_api.go index 27c7994f4..6b30141a5 100644 --- a/libpod/container_api.go +++ b/libpod/container_api.go @@ -565,7 +565,7 @@ func (c *Container) Commit(pause bool, reference string, writer io.Writer, signi if err := c.export(tempFile.Name()); err != nil { return nil, err } - return image.Import(tempFile.Name(), reference, writer, signingOptions, imageConfig, c.runtime.imageRuntime) + return c.runtime.imageRuntime.Import(tempFile.Name(), reference, writer, signingOptions, imageConfig) } // Wait blocks on a container to exit and returns its exit code |