Skip to content

Commit

Permalink
Fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerome Touffe-Blin committed Dec 3, 2023
1 parent c23584c commit 32a82bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iam/iam.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func getIAMCode(err error) string {
return metrics.IamSuccessCode
}

// GetEndpointFromRegion formas a standard sts endpoint url given a region
// GetEndpointFromRegion forms a standard sts endpoint url given a region
func GetEndpointFromRegion(region string) string {
endpoint := fmt.Sprintf("https://sts.%s.amazonaws.com", region)
if strings.HasPrefix(region, "cn-") {
Expand Down

0 comments on commit 32a82bd

Please sign in to comment.