internal/awscloud: remove S3 manager from AWS struct
This functionality is not needed any more, since it is provided by the osbuild/images version of AWS. Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
0b5bfa044f
commit
4f0ae84add
7 changed files with 27 additions and 56 deletions
|
|
@ -10,7 +10,7 @@ import (
|
|||
|
||||
func TestEC2CopyImage(t *testing.T) {
|
||||
m := newEc2Mock(t)
|
||||
aws := awscloud.NewForTest(m, nil, &s3mock{t, "bucket", "object-key"}, nil)
|
||||
aws := awscloud.NewForTest(m, nil, &s3mock{t, "bucket", "object-key"})
|
||||
imageId, err := aws.CopyImage("image-name", "image-id", "region")
|
||||
require.NoError(t, err)
|
||||
require.Equal(t, "image-id", imageId)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue