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
This commit is contained in:
baude
2018-03-22 10:17:50 -05:00
committed by Atomic Bot
parent 8ca3bcc85d
commit f7c8dd5836
13 changed files with 155 additions and 1201 deletions

View File

@ -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