Compare commits
2 Commits
31324eed7a
...
160e69baed
| Author | SHA1 | Date | |
|---|---|---|---|
| 160e69baed | |||
| 9805d2d213 |
@@ -30,7 +30,7 @@ repos:
|
|||||||
- id: go-test
|
- id: go-test
|
||||||
- id: gofumpt
|
- id: gofumpt
|
||||||
- repo: https://github.com/golangci/golangci-lint
|
- repo: https://github.com/golangci/golangci-lint
|
||||||
rev: v2.12.0
|
rev: v2.12.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: golangci-lint-full
|
- id: golangci-lint-full
|
||||||
- repo: https://github.com/gitleaks/gitleaks
|
- repo: https://github.com/gitleaks/gitleaks
|
||||||
|
|||||||
@@ -67,7 +67,8 @@ func (s *S3) storeWithManager(path string, content io.Reader, contentType string
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
presignedUrl, err := s.presigner.PresignGetObject(context.Background(),
|
presignedUrl, err := s.presigner.PresignGetObject(
|
||||||
|
context.Background(),
|
||||||
&s3.GetObjectInput{
|
&s3.GetObjectInput{
|
||||||
Bucket: aws.String(s.bucket),
|
Bucket: aws.String(s.bucket),
|
||||||
Key: aws.String(*out.Key),
|
Key: aws.String(*out.Key),
|
||||||
|
|||||||
Reference in New Issue
Block a user