Skip to content

Commit

Permalink
fix(aws): use correct signing region (#1411)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikpivkin authored Aug 9, 2023
1 parent 2479e45 commit a89cc84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/adapters/cloud/aws/adapt.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ type resolver struct {
endpoint string
}

func (r *resolver) ResolveEndpoint(_, _ string, _ ...interface{}) (aws.Endpoint, error) {
func (r *resolver) ResolveEndpoint(_, region string, _ ...interface{}) (aws.Endpoint, error) {
return aws.Endpoint{
URL: r.endpoint,
SigningRegion: "custom-signing-region",
SigningRegion: region,
Source: aws.EndpointSourceCustom,
}, nil
}
Expand Down

0 comments on commit a89cc84

Please sign in to comment.