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

return appropriate error type for generic handling #1981

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

harshavardhana
Copy link
Member

No description provided.

@harshavardhana harshavardhana merged commit 77fb078 into minio:master Jul 2, 2024
5 checks passed
@harshavardhana harshavardhana deleted the fix-errors branch July 2, 2024 20:41
tomponline referenced this pull request in canonical/lxd Jul 22, 2024
)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/minio/minio-go/v7](https://togithub.com/minio/minio-go) |
`v7.0.73` -> `v7.0.74` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fminio%2fminio-go%2fv7/v7.0.74?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fminio%2fminio-go%2fv7/v7.0.74?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fminio%2fminio-go%2fv7/v7.0.73/v7.0.74?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fminio%2fminio-go%2fv7/v7.0.73/v7.0.74?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>minio/minio-go (github.com/minio/minio-go/v7)</summary>

###
[`v7.0.74`](https://togithub.com/minio/minio-go/releases/tag/v7.0.74):
Bugfix Release

[Compare
Source](https://togithub.com/minio/minio-go/compare/v7.0.73...v7.0.74)

#### What's Changed

- return appropriate error type for generic handling by
[@&#8203;harshavardhana](https://togithub.com/harshavardhana) in
[https://github.com/minio/minio-go/pull/1981](https://togithub.com/minio/minio-go/pull/1981)
- feat: add SetContentDisposition method for postPolicy Upload by
[@&#8203;lianggx6](https://togithub.com/lianggx6) in
[https://github.com/minio/minio-go/pull/1982](https://togithub.com/minio/minio-go/pull/1982)
- docs: fix doc about default alias by
[@&#8203;emil2k](https://togithub.com/emil2k) in
[https://github.com/minio/minio-go/pull/1984](https://togithub.com/minio/minio-go/pull/1984)
- fix: GCS endpoint validation to allow ports by
[@&#8203;ammarhusain-sol](https://togithub.com/ammarhusain-sol) in
[https://github.com/minio/minio-go/pull/1985](https://togithub.com/minio/minio-go/pull/1985)

#### New Contributors

- [@&#8203;lianggx6](https://togithub.com/lianggx6) made their first
contribution in
[https://github.com/minio/minio-go/pull/1982](https://togithub.com/minio/minio-go/pull/1982)
- [@&#8203;emil2k](https://togithub.com/emil2k) made their first
contribution in
[https://github.com/minio/minio-go/pull/1984](https://togithub.com/minio/minio-go/pull/1984)
- [@&#8203;ammarhusain-sol](https://togithub.com/ammarhusain-sol) made
their first contribution in
[https://github.com/minio/minio-go/pull/1985](https://togithub.com/minio/minio-go/pull/1985)

**Full Changelog**:
minio/minio-go@v7.0.73...v7.0.74

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/canonical/lxd).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzguMCIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
charithe referenced this pull request in cerbos/cerbos Jul 22, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence | Type |
Update |
|---|---|---|---|---|---|---|---|
| buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go |
`v1.34.2-20240508200655-46a4cf4ba109.2` ->
`v1.34.2-20240717164558-a6c49f84cc0f.2` |
[![age](https://developer.mend.io/api/mc/badges/age/go/buf.build%2fgen%2fgo%2fbufbuild%2fprotovalidate%2fprotocolbuffers%2fgo/v1.34.2-20240717164558-a6c49f84cc0f.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/buf.build%2fgen%2fgo%2fbufbuild%2fprotovalidate%2fprotocolbuffers%2fgo/v1.34.2-20240717164558-a6c49f84cc0f.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/buf.build%2fgen%2fgo%2fbufbuild%2fprotovalidate%2fprotocolbuffers%2fgo/v1.34.2-20240508200655-46a4cf4ba109.2/v1.34.2-20240717164558-a6c49f84cc0f.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/buf.build%2fgen%2fgo%2fbufbuild%2fprotovalidate%2fprotocolbuffers%2fgo/v1.34.2-20240508200655-46a4cf4ba109.2/v1.34.2-20240717164558-a6c49f84cc0f.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | patch |
| [github.com/aws/aws-sdk-go](https://togithub.com/aws/aws-sdk-go) |
`v1.54.19` -> `v1.54.20` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2faws%2faws-sdk-go/v1.54.20?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2faws%2faws-sdk-go/v1.54.20?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2faws%2faws-sdk-go/v1.54.19/v1.54.20?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2faws%2faws-sdk-go/v1.54.19/v1.54.20?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | patch |
|
[github.com/aws/aws-sdk-go-v2/config](https://togithub.com/aws/aws-sdk-go-v2)
| `v1.27.7` -> `v1.27.27` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2faws%2faws-sdk-go-v2%2fconfig/v1.27.27?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2faws%2faws-sdk-go-v2%2fconfig/v1.27.27?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2faws%2faws-sdk-go-v2%2fconfig/v1.27.7/v1.27.27?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2faws%2faws-sdk-go-v2%2fconfig/v1.27.7/v1.27.27?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | patch |
| [github.com/goccy/go-yaml](https://togithub.com/goccy/go-yaml) |
`v1.11.3` -> `v1.12.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgoccy%2fgo-yaml/v1.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgoccy%2fgo-yaml/v1.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgoccy%2fgo-yaml/v1.11.3/v1.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgoccy%2fgo-yaml/v1.11.3/v1.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | minor |
| [github.com/minio/minio-go/v7](https://togithub.com/minio/minio-go) |
`v7.0.73` -> `v7.0.74` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fminio%2fminio-go%2fv7/v7.0.74?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fminio%2fminio-go%2fv7/v7.0.74?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fminio%2fminio-go%2fv7/v7.0.73/v7.0.74?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fminio%2fminio-go%2fv7/v7.0.73/v7.0.74?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | patch |
| golang.org/x/exp | `46b0784` -> `8a7402a` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fexp/v0.0.0-20240719175910-8a7402abbf56?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fexp/v0.0.0-20240719175910-8a7402abbf56?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fexp/v0.0.0-20240707233637-46b078467d37/v0.0.0-20240719175910-8a7402abbf56?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fexp/v0.0.0-20240707233637-46b078467d37/v0.0.0-20240719175910-8a7402abbf56?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | digest |

---

### Release Notes

<details>
<summary>aws/aws-sdk-go (github.com/aws/aws-sdk-go)</summary>

###
[`v1.54.20`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v15420-2024-07-18)

[Compare
Source](https://togithub.com/aws/aws-sdk-go/compare/v1.54.19...v1.54.20)

\===

##### Service Client Updates

-   `service/acm-pca`: Updates service waiters
- `service/connect`: Updates service API, documentation, and paginators
-   `service/ec2`: Updates service API and documentation
- Amazon VPC IP Address Manager (IPAM) now supports Bring-Your-Own-IP
(BYOIP) for IP addresses registered with any Internet Registry. This
feature uses DNS TXT records to validate ownership of a public IP
address range.
-   `service/firehose`: Updates service API and documentation
- This release 1) Add configurable buffering hints for Snowflake as
destination. 2) Add ReadFromTimestamp for MSK As Source. Firehose will
start reading data from MSK Cluster using offset associated with this
timestamp. 3) Gated public beta release to add Apache Iceberg tables as
destination.
-   `service/ivschat`: Updates service API, documentation, and waiters
-   `service/medialive`: Updates service API and documentation
- AWS Elemental MediaLive now supports the SRT protocol via the new SRT
Caller input type.
- `service/rds`: Updates service API, documentation, waiters,
paginators, and examples
- Updates Amazon RDS documentation to specify an eventual consistency
model for DescribePendingMaintenanceActions.
-   `service/sagemaker`: Updates service API
- SageMaker Training supports R5, T3 and R5D instances family. And
SageMaker Processing supports G5 and R5D instances family.
-   `service/secretsmanager`: Updates service documentation
    -   Doc only update for Secrets Manager
-   `service/taxsettings`: Updates service API
-   `service/timestream-query`: Updates service API and documentation
- `service/workspaces-thin-client`: Updates service API and
documentation

</details>

<details>
<summary>goccy/go-yaml (github.com/goccy/go-yaml)</summary>

###
[`v1.12.0`](https://togithub.com/goccy/go-yaml/releases/tag/v1.12.0):
1.12.0

[Compare
Source](https://togithub.com/goccy/go-yaml/compare/v1.11.3...v1.12.0)

#### What's Changed

- Replace deprecated `io/ioutil` by
[@&#8203;harryzcy](https://togithub.com/harryzcy) in
[https://github.com/goccy/go-yaml/pull/429](https://togithub.com/goccy/go-yaml/pull/429)
- support custom unmarshalling for map keys by
[@&#8203;KSpaceer](https://togithub.com/KSpaceer) in
[https://github.com/goccy/go-yaml/pull/453](https://togithub.com/goccy/go-yaml/pull/453)
- trim right spaces before adding carriage return or linefeed by
[@&#8203;mfleader](https://togithub.com/mfleader) in
[https://github.com/goccy/go-yaml/pull/462](https://togithub.com/goccy/go-yaml/pull/462)
- fix: Correct token.Tokenize double quoted strings with escape
sequences handling by
[@&#8203;nieomylnieja](https://togithub.com/nieomylnieja) in
[https://github.com/goccy/go-yaml/pull/457](https://togithub.com/goccy/go-yaml/pull/457)
- Fix decoding of scientific notation by
[@&#8203;morris-kelly](https://togithub.com/morris-kelly) in
[https://github.com/goccy/go-yaml/pull/463](https://togithub.com/goccy/go-yaml/pull/463)
- Quote is required even if it begins with backquote. by
[@&#8203;k1LoW](https://togithub.com/k1LoW) in
[https://github.com/goccy/go-yaml/pull/440](https://togithub.com/goccy/go-yaml/pull/440)

#### New Contributors

- [@&#8203;harryzcy](https://togithub.com/harryzcy) made their first
contribution in
[https://github.com/goccy/go-yaml/pull/429](https://togithub.com/goccy/go-yaml/pull/429)
- [@&#8203;KSpaceer](https://togithub.com/KSpaceer) made their first
contribution in
[https://github.com/goccy/go-yaml/pull/453](https://togithub.com/goccy/go-yaml/pull/453)
- [@&#8203;mfleader](https://togithub.com/mfleader) made their first
contribution in
[https://github.com/goccy/go-yaml/pull/462](https://togithub.com/goccy/go-yaml/pull/462)
- [@&#8203;nieomylnieja](https://togithub.com/nieomylnieja) made their
first contribution in
[https://github.com/goccy/go-yaml/pull/457](https://togithub.com/goccy/go-yaml/pull/457)
- [@&#8203;morris-kelly](https://togithub.com/morris-kelly) made their
first contribution in
[https://github.com/goccy/go-yaml/pull/463](https://togithub.com/goccy/go-yaml/pull/463)

**Full Changelog**:
goccy/go-yaml@v1.11.3...v1.11.4

</details>

<details>
<summary>minio/minio-go (github.com/minio/minio-go/v7)</summary>

###
[`v7.0.74`](https://togithub.com/minio/minio-go/releases/tag/v7.0.74):
Bugfix Release

[Compare
Source](https://togithub.com/minio/minio-go/compare/v7.0.73...v7.0.74)

#### What's Changed

- return appropriate error type for generic handling by
[@&#8203;harshavardhana](https://togithub.com/harshavardhana) in
[https://github.com/minio/minio-go/pull/1981](https://togithub.com/minio/minio-go/pull/1981)
- feat: add SetContentDisposition method for postPolicy Upload by
[@&#8203;lianggx6](https://togithub.com/lianggx6) in
[https://github.com/minio/minio-go/pull/1982](https://togithub.com/minio/minio-go/pull/1982)
- docs: fix doc about default alias by
[@&#8203;emil2k](https://togithub.com/emil2k) in
[https://github.com/minio/minio-go/pull/1984](https://togithub.com/minio/minio-go/pull/1984)
- fix: GCS endpoint validation to allow ports by
[@&#8203;ammarhusain-sol](https://togithub.com/ammarhusain-sol) in
[https://github.com/minio/minio-go/pull/1985](https://togithub.com/minio/minio-go/pull/1985)

#### New Contributors

- [@&#8203;lianggx6](https://togithub.com/lianggx6) made their first
contribution in
[https://github.com/minio/minio-go/pull/1982](https://togithub.com/minio/minio-go/pull/1982)
- [@&#8203;emil2k](https://togithub.com/emil2k) made their first
contribution in
[https://github.com/minio/minio-go/pull/1984](https://togithub.com/minio/minio-go/pull/1984)
- [@&#8203;ammarhusain-sol](https://togithub.com/ammarhusain-sol) made
their first contribution in
[https://github.com/minio/minio-go/pull/1985](https://togithub.com/minio/minio-go/pull/1985)

**Full Changelog**:
minio/minio-go@v7.0.73...v7.0.74

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/cerbos/cerbos).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzguMCIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhcmVhL2RlcGVuZGVuY2llcyIsImJvdHMiLCJraW5kL2Nob3JlIl19-->

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Charith Ellawala <charith@cerbos.dev>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charith Ellawala <charith@cerbos.dev>
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.

3 participants