From cda0db91f5c6b0bb2c75dcee4b50f9b32fd30ebd Mon Sep 17 00:00:00 2001 From: Sanne Raymaekers Date: Tue, 6 Aug 2024 15:30:34 +0200 Subject: [PATCH] osbuild-upload-aws: remove aws sdk v1 dependency --- cmd/osbuild-upload-aws/main.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cmd/osbuild-upload-aws/main.go b/cmd/osbuild-upload-aws/main.go index 61e86f1fa..63716b116 100644 --- a/cmd/osbuild-upload-aws/main.go +++ b/cmd/osbuild-upload-aws/main.go @@ -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) }