osbuild-upload-aws: remove aws sdk v1 dependency
This commit is contained in:
parent
c90b92f666
commit
cda0db91f5
1 changed files with 2 additions and 4 deletions
|
|
@ -4,8 +4,6 @@ import (
|
|||
"flag"
|
||||
"fmt"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
|
||||
"github.com/osbuild/osbuild-composer/internal/cloud/awscloud"
|
||||
)
|
||||
|
||||
|
|
@ -46,7 +44,7 @@ func main() {
|
|||
return
|
||||
}
|
||||
|
||||
fmt.Printf("file uploaded to %s\n", aws.StringValue(&uploadOutput.Location))
|
||||
fmt.Printf("file uploaded to %s\n", uploadOutput.Location)
|
||||
|
||||
var share []string
|
||||
if shareWith != "" {
|
||||
|
|
@ -64,5 +62,5 @@ func main() {
|
|||
return
|
||||
}
|
||||
|
||||
fmt.Printf("AMI registered: %s\n", aws.StringValue(ami))
|
||||
fmt.Printf("AMI registered: %s\n", *ami)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue