Skip to content

Commit

Permalink
Bump gopkg.in/ini.v1 from 1.66.5 to 1.66.6 (#1050)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
dependabot[bot] and ChunyiLyu committed Jun 6, 2022
1 parent 3772ddd commit bf12a91
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ require (
github.com/sclevine/yj v0.0.0-20200815061347-554173e71934
github.com/streadway/amqp v1.0.0
golang.org/x/net v0.0.0-20220225172249-27dd8689420f
gopkg.in/ini.v1 v1.66.5
gopkg.in/ini.v1 v1.66.6
k8s.io/api v0.24.0
k8s.io/apimachinery v0.24.0
k8s.io/client-go v0.24.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1796,8 +1796,8 @@ gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=
gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
gopkg.in/ini.v1 v1.62.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
gopkg.in/ini.v1 v1.66.5 h1:zfiCO0p88Fj4f6NR6KR5WdGMQ02U8vlDnN6HuD2xv5o=
gopkg.in/ini.v1 v1.66.5/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
gopkg.in/ini.v1 v1.66.6 h1:LATuAqN/shcYAOkv3wl2L4rkaKqkcgTBQjOyYDvcPKI=
gopkg.in/ini.v1 v1.66.6/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
gopkg.in/natefinch/lumberjack.v2 v2.0.0 h1:1Lc07Kr7qY4U2YPouBjpCLxpiyxIVoxqXgkXLknAOE8=
gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k=
gopkg.in/op/go-logging.v1 v1.0.0-20160211212156-b2cb9fa56473 h1:6D+BvnJ/j6e222UW8s2qTSe3wGBtvo0MbVQG/c5k8RE=
Expand Down
4 changes: 1 addition & 3 deletions internal/resource/configmap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,7 @@ var _ = Describe("GenerateServerConfigMap", func() {
When("invalid userDefinedConfiguration is provided", func() {
It("errors", func() {
instance.Spec.Rabbitmq.AdditionalConfig = " = invalid"

Expect(configMapBuilder.Update(configMap)).To(MatchError(
"failed to append spec.rabbitmq.additionalConfig: error creating new key: empty key name"))
Expect(configMapBuilder.Update(configMap)).NotTo(Succeed())
})
})

Expand Down

0 comments on commit bf12a91

Please sign in to comment.