Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrades, loggers and GetBackendWithParams #17

Merged
merged 3 commits into from
Nov 1, 2022
Merged

Conversation

wojas
Copy link
Member

@wojas wojas commented Nov 1, 2022

  • Upgrade the minio S3 client
  • Upgrade other Go dependencies
  • Upgrade go-tlsconfig
  • Start using logr.Logger to pass a logger to backends and add it to InitParams
  • S3: pass the logger to go-tlsconfig
  • Add new GetBackendWithParams function, which allows passing a logger
  • Deprecate GetBackend in favor of GetBackendWithParams
  • Add Go 1.19 to Github CI and drop Go 1.17

- Upgrade the minio S3 client
- Upgrade other Go dependencies
- Upgrade go-tlsconfig
- Start using logr.Logger to pass a logger to backends and add it to
  InitParams
- S3: pass the logger to go-tlsconfig
- Add new GetBackendWithParams function, which allows passing a logger
- Deprecate GetBackend in favor of GetBackendWithParams
- Add Go 1.19 to Github CI
@wojas wojas requested a review from nvaatstra November 1, 2022 14:26
Upgrading golangci-lint caused it to fail to build with Go 1.17, so I
decided to drop 1.17 and bump the version in go.mod.

The code itself probably still works under 1.17, but this is no longer
guaranteed.
Copy link
Contributor

@nvaatstra nvaatstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good; The logging is a welcome addition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants