mirror of
https://github.com/containers/podman.git
synced 2025-08-03 01:37:51 +08:00
Image library stage 4 - create and commit
Migrate the podman create and commit subcommandis to leverage the images library. I also had to migrate the cmd/ portions of run and rmi. Signed-off-by: baude <bbaude@redhat.com> Closes: #498 Approved by: mheon
This commit is contained in:
@ -79,7 +79,7 @@ func TestImage_NewFromLocal(t *testing.T) {
|
||||
writer = os.Stdout
|
||||
|
||||
// Need images to be present for this test
|
||||
ir, err := NewImageRuntime(so)
|
||||
ir, err := NewImageRuntimeFromOptions(so)
|
||||
assert.NoError(t, err)
|
||||
bb, err := ir.New("docker.io/library/busybox:latest", "", "", writer, nil, SigningOptions{})
|
||||
assert.NoError(t, err)
|
||||
@ -115,7 +115,7 @@ func TestImage_New(t *testing.T) {
|
||||
RunRoot: workdir,
|
||||
GraphRoot: workdir,
|
||||
}
|
||||
ir, err := NewImageRuntime(so)
|
||||
ir, err := NewImageRuntimeFromOptions(so)
|
||||
assert.NoError(t, err)
|
||||
// Build the list of pull names
|
||||
names = append(names, bbNames...)
|
||||
|
Reference in New Issue
Block a user