Skip to content

Commit

Permalink
Correct typo in error message (hashicorp#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfdc-jd authored and ebudan committed Jul 22, 2021
1 parent 0b3a49a commit 860d133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get_s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ func (g *S3Getter) parseUrl(u *url.URL) (region, bucket, path, version string, c
} else {
pathParts := strings.SplitN(u.Path, "/", 3)
if len(pathParts) != 3 {
err = fmt.Errorf("URL is not a valid S3 complaint URL")
err = fmt.Errorf("URL is not a valid S3 compliant URL")
return
}
bucket = pathParts[1]
Expand Down

0 comments on commit 860d133

Please sign in to comment.