chore(deps): bump github.com/aws/aws-sdk-go-v2 from 1.22.2 to 1.24.0 (#4840)

* chore(deps): bump github.com/aws/aws-sdk-go-v2 from 1.22.2 to 1.24.0

Bumps [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2) from 1.22.2 to 1.24.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.22.2...v1.24.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* upgrade all aws deps

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Caleb Doxsey <cdoxsey@pomerium.com>
This commit is contained in:
dependabot[bot] 2023-12-28 08:40:54 -07:00 committed by GitHub
parent 615c6257e6
commit c9df5156d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 60 additions and 63 deletions

View file

@ -115,10 +115,15 @@ func (s *s3Storage) Stat(ctx context.Context, key string) (certmagic.KeyInfo, er
return certmagic.KeyInfo{}, err
}
var size int64
if output.ContentLength != nil {
size = *output.ContentLength
}
return certmagic.KeyInfo{
Key: key,
Modified: *output.LastModified,
Size: output.ContentLength,
Size: size,
IsTerminal: true,
}, nil
}