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) }