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

Bump gopkg.in/ini.v1 from 1.66.5 to 1.66.6 #1050

Merged
merged 2 commits into from Jun 6, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 31, 2022

Bumps gopkg.in/ini.v1 from 1.66.5 to 1.66.6.

Release notes

Sourced from gopkg.in/ini.v1's releases.

1.66.6

What's Changed

Full Changelog: go-ini/ini@v1.66.5...v1.66.6

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [gopkg.in/ini.v1](https://github.com/go-ini/ini) from 1.66.5 to 1.66.6.
- [Release notes](https://github.com/go-ini/ini/releases)
- [Commits](go-ini/ini@v1.66.5...v1.66.6)

---
updated-dependencies:
- dependency-name: gopkg.in/ini.v1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 31, 2022
@coro
Copy link
Contributor

coro commented Jun 6, 2022

We don't think this is a simple merge - this has broken our unit tests as a result of this merge.

- instead of matching on the error msgs exactly, assert on error
occurring is enough for us
@ChunyiLyu
Copy link
Contributor

A returned error msg has changed in new version of ini. We were matching on the exact error string. Instead of matching on the error string, assert on error occurring is enough for the test case.

Copy link
Collaborator

@Zerpet Zerpet left a comment

Choose a reason for hiding this comment

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

I think it's ok to not match a specific error. We are relying on a 3rd party library and we can consider this sort of a contract. From our point of view, we only care that it errors. The specific error should not be too relevant. One could argue that the call may fail for the wrong reasons, and our test would still pass; however, in that scenario, the library would be breaking the contract. In any case, the expected outcome is an error.

@ChunyiLyu ChunyiLyu merged commit bf12a91 into main Jun 6, 2022
@ChunyiLyu ChunyiLyu deleted the dependabot/go_modules/gopkg.in/ini.v1-1.66.6 branch June 6, 2022 15:57
jiuker pushed a commit to jiuker/cluster-operator that referenced this pull request Jun 9, 2022
* Bump gopkg.in/ini.v1 from 1.66.5 to 1.66.6

Bumps [gopkg.in/ini.v1](https://github.com/go-ini/ini) from 1.66.5 to 1.66.6.
- [Release notes](https://github.com/go-ini/ini/releases)
- [Commits](go-ini/ini@v1.66.5...v1.66.6)

---
updated-dependencies:
- dependency-name: gopkg.in/ini.v1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* Error msgs changed in ini library

- instead of matching on the error msgs exactly, assert on error
occurring is enough for us

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chunyi Lyu <clyu@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants