Skip to content

Commit 29f7adc

Browse files
build(deps): bump github.com/hashicorp/go-version from 1.7.0 to 1.8.0 (#1355)
* build(deps): bump github.com/hashicorp/go-version from 1.7.0 to 1.8.0 Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version) from 1.7.0 to 1.8.0. - [Release notes](https://github.com/hashicorp/go-version/releases) - [Changelog](https://github.com/hashicorp/go-version/blob/main/CHANGELOG.md) - [Commits](hashicorp/go-version@v1.7.0...v1.8.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/go-version dependency-version: 1.8.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Fix tests for go-version v1.8.0 error message change The go-version library changed error message casing from 'Malformed version:' to 'malformed version:' in v1.8.0. Updated test assertions to match the new format. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: gd007865 <georgi-dim.dimitrov@broadcom.com>
1 parent 085f51a commit 29f7adc

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ require (
1010
github.com/google/uuid v1.6.0
1111
github.com/hashicorp/go-getter v1.8.3
1212
github.com/hashicorp/go-multierror v1.1.1
13-
github.com/hashicorp/go-version v1.7.0
13+
github.com/hashicorp/go-version v1.8.0
1414
github.com/hashicorp/hcl/v2 v2.24.0
1515
github.com/hashicorp/hil v0.0.0-20241119142051-4415e05c565c
1616
github.com/heptiolabs/healthcheck v0.0.0-20211123025425-613501dd5deb

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ github.com/hashicorp/go-getter v1.8.3 h1:gIS+oTNv3kyYAvlUVgMR46MiG0bM0KuSON/KZEv
176176
github.com/hashicorp/go-getter v1.8.3/go.mod h1:CUTt9x2bCtJ/sV8ihgrITL3IUE+0BE1j/e4n5P/GIM4=
177177
github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo=
178178
github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM=
179-
github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY=
180-
github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
179+
github.com/hashicorp/go-version v1.8.0 h1:KAkNb1HAiZd1ukkxDFGmokVZe1Xy9HG6NUp+bPle2i4=
180+
github.com/hashicorp/go-version v1.8.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
181181
github.com/hashicorp/hcl/v2 v2.24.0 h1:2QJdZ454DSsYGoaE6QheQZjtKZSUs9Nh2izTWiwQxvE=
182182
github.com/hashicorp/hcl/v2 v2.24.0/go.mod h1:oGoO1FIQYfn/AgyOhlg9qLC6/nOJPX3qGbkZpYAcqfM=
183183
github.com/hashicorp/hil v0.0.0-20241119142051-4415e05c565c h1:wl3s5+2Qlno3Ul+zSKSGe0j/awc6NaVXG3340Ce4Xc0=

internal/brokerpak/manifest/parser_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ var _ = Describe("Parser", func() {
412412
"default": true,
413413
})))
414414

415-
Expect(err).To(MatchError(ContainSubstring(`error validating manifest: Malformed version: not.semver: terraform_binaries[3].version`)))
415+
Expect(err).To(MatchError(ContainSubstring(`malformed version: not.semver: terraform_binaries[3].version`)))
416416
Expect(m).To(BeNil())
417417
})
418418
})

internal/paramparser/parse_update_details_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ var _ = Describe("ParseUpdateDetails", func() {
7575
},
7676
})
7777

78-
Expect(err).To(MatchError(`error parsing maintenance info: Malformed version: not-a-valid-version`))
78+
Expect(err).To(MatchError(`error parsing maintenance info: malformed version: not-a-valid-version`))
7979
Expect(ud).To(BeZero())
8080
})
8181
})
@@ -90,7 +90,7 @@ var _ = Describe("ParseUpdateDetails", func() {
9090
},
9191
})
9292

93-
Expect(err).To(MatchError(`error parsing previous maintenance info: Malformed version: not-a-valid-version`))
93+
Expect(err).To(MatchError(`error parsing previous maintenance info: malformed version: not-a-valid-version`))
9494
Expect(ud).To(BeZero())
9595
})
9696
})

pkg/providers/tf/terraform_upgrade_checker_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ var _ = Describe("CheckUpgradeAvailable", func() {
9797
provider := tf.NewTerraformProvider(tfBinContext, fakeInvokerBuilder, fakeLogger, fakeServiceDefinition, fakeDeploymentManager)
9898

9999
err := provider.CheckUpgradeAvailable(tfInstanceID)
100-
Expect(err).To(MatchError("Malformed version: "))
100+
Expect(err).To(MatchError("malformed version: "))
101101
})
102102
})
103103

0 commit comments

Comments
 (0)