Skip to content

Commit

Permalink
fix: AWS upload fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Tucker <[email protected]>
  • Loading branch information
dave-tucker committed Mar 16, 2024
1 parent 1626a82 commit 2952e93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bot/src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class Worker {
continue;
}
const issueComment = {
owner: "dave-tucker",
owner: "redhat-et",
repo: "taxonomy",
issue_number: parseInt(prNumber),
body:
Expand Down
4 changes: 2 additions & 2 deletions worker/cmd/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ var generateCmd = &cobra.Command{
// Using the SDK's default configuration, loading additional config
// and credentials values from the environment variables, shared
// credentials, and shared configuration files
cfg, err := awsconfig.LoadDefaultConfig(context.TODO(), awsconfig.WithRegion("us-west-2"))
cfg, err := awsconfig.LoadDefaultConfig(ctx, awsconfig.WithRegion("us-east-2"))
if err != nil {
log.Fatalf("unable to load SDK config, %v", err)
}

// Using the Config value, create the DynamoDB client
// Using the Config value, create the S3 client
svc := s3.NewFromConfig(cfg)

sigChan := make(chan os.Signal, 1)
Expand Down

0 comments on commit 2952e93

Please sign in to comment.