Skip to content

Commit

Permalink
fixed a typo by renamin AddAsIsPresigingMiddleware to AddAsIsPresigni…
Browse files Browse the repository at this point in the history
…ngMiddleware
  • Loading branch information
matheusorienrac authored and lucix-aws committed Mar 4, 2024
1 parent 8e4d170 commit a2adca8
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ private void writeConvertToPresignMiddleware(
}

Symbol addAsPresignMiddlewareSymbol = SymbolUtils.createValueSymbolBuilder(
"AddAsIsPresigingMiddleware",
"AddAsIsPresigningMiddleware",
AwsCustomGoDependency.PRESIGNEDURL_CUSTOMIZATION).build();
writer.write("err = $T(stack)", addAsPresignMiddlewareSymbol);
writer.write("if err != nil { return err }");
Expand Down
2 changes: 1 addition & 1 deletion service/docdb/api_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion service/ec2/api_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions service/internal/presigned-url/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ func GetIsPresigning(ctx context.Context) bool {

type isPresigningKey struct{}

// AddAsIsPresigingMiddleware adds a middleware to the head of the stack that
// AddAsIsPresigningMiddleware adds a middleware to the head of the stack that
// will update the stack's context to be flagged as being invoked for the
// purpose of presigning.
func AddAsIsPresigingMiddleware(stack *middleware.Stack) error {
func AddAsIsPresigningMiddleware(stack *middleware.Stack) error {
return stack.Initialize.Add(asIsPresigningMiddleware{}, middleware.Before)
}

Expand Down
2 changes: 1 addition & 1 deletion service/neptune/api_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion service/polly/api_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion service/rds/api_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion service/s3/api_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion service/sts/api_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a2adca8

Please sign in to comment.