You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for Masterminds/semver for .spec.Version
This is a bit more entangled into the code than I expected,
most instances of bsemver were replaced.
Signed-off-by: Todd Short <[email protected]>
Expect(err.Error()).To(Equal("error determining package for entity 'operatorhub/prometheus/0.14.0': required property 'olm.package' not found"))
66
76
})
@@ -69,7 +79,7 @@ var _ = Describe("BundleEntity", func() {
69
79
"olm.package": "badPackageStructure",
70
80
})
71
81
bundleEntity:=olmentity.NewBundleEntity(entity)
72
-
version, err:=bundleEntity.Version()
82
+
version, err:=bundleEntity.VersionBlang()
73
83
Expect(version).To(BeNil())
74
84
Expect(err.Error()).To(Equal("error determining package for entity 'operatorhub/prometheus/0.14.0': property 'olm.package' ('badPackageStructure') could not be parsed: invalid character 'b' looking for beginning of value"))
75
85
})
@@ -78,9 +88,9 @@ var _ = Describe("BundleEntity", func() {
0 commit comments