internal/weldr: adapt to aws sdk v2
This commit is contained in:
parent
c87cbe0cbc
commit
8b0e09ed20
2 changed files with 6 additions and 6 deletions
|
|
@ -17,7 +17,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/aws/aws-sdk-go/service/ec2"
|
||||
ec2types "github.com/aws/aws-sdk-go-v2/service/ec2/types"
|
||||
"github.com/osbuild/images/pkg/container"
|
||||
"github.com/osbuild/images/pkg/distro"
|
||||
"github.com/osbuild/images/pkg/distro/test_distro"
|
||||
|
|
@ -1086,7 +1086,7 @@ func TestCompose(t *testing.T) {
|
|||
SecretAccessKey: "secretkey",
|
||||
Bucket: "clay",
|
||||
Key: "imagekey",
|
||||
BootMode: common.ToPtr(ec2.BootModeValuesUefiPreferred),
|
||||
BootMode: common.ToPtr(string(ec2types.BootModeValuesUefiPreferred)),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue