From 2bac0ee3aba1184a823cafad2764de9ecee4fed8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 13 Sep 2026 08:33:55 +0000 Subject: [PATCH 1/2] chore(deps): bump github.com/gobwas/glob from 0.2.3 to 1.0.0 Bumps [github.com/gobwas/glob](https://github.com/gobwas/glob) from 0.2.3 to 1.0.0. - [Release notes](https://github.com/gobwas/glob/releases) - [Commits](https://github.com/gobwas/glob/compare/v0.2.3...v1.0.0) --- updated-dependencies: - dependency-name: github.com/gobwas/glob dependency-version: 1.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 9d3b15401..d0e0a3479 100644 --- a/go.mod +++ b/go.mod @@ -37,7 +37,7 @@ require ( github.com/go-openapi/strfmt v0.27.0 github.com/go-openapi/swag/conv v0.29.1 github.com/go-test/deep v1.1.1 - github.com/gobwas/glob v0.2.3 + github.com/gobwas/glob v1.0.0 github.com/golang/mock v1.7.0-rc.1 github.com/google/go-github/v45 v45.2.0 github.com/hashicorp/vault-client-go v0.4.3 diff --git a/go.sum b/go.sum index c48b348b0..38543bfb2 100644 --- a/go.sum +++ b/go.sum @@ -588,8 +588,8 @@ github.com/go-viper/mapstructure/v2 v2.5.0 h1:vM5IJoUAy3d7zRSVtIwQgBj7BiWtMPfmPE github.com/go-viper/mapstructure/v2 v2.5.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM= github.com/go-xmlfmt/xmlfmt v1.1.3 h1:t8Ey3Uy7jDSEisW2K3somuMKIpzktkWptA0iFCnRUWY= github.com/go-xmlfmt/xmlfmt v1.1.3/go.mod h1:aUCEOzzezBEjDBbFBoSiya/gduyIiWYRP6CnSFIV8AM= -github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y= -github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8= +github.com/gobwas/glob v1.0.0 h1:p+FKbLEIsK1yZ39/OINwFvqNb5oyPY4H8xcy6uYu8dg= +github.com/gobwas/glob v1.0.0/go.mod h1:oWCdo522i2P1n/hMXGNWs7yoV4wy/ciZuUIbvKj5rkc= github.com/goccy/go-json v0.10.6 h1:p8HrPJzOakx/mn/bQtjgNjdTcN+/S6FcG2CTtQOrHVU= github.com/goccy/go-json v0.10.6/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M= github.com/goccy/go-yaml v1.19.2 h1:PmFC1S6h8ljIz6gMRBopkjP1TVT7xuwrButHID66PoM= From 0d85ad818b5a4b8b1249352fd9346d23662c8dbe Mon Sep 17 00:00:00 2001 From: Frederic Wilhelm Date: Mon, 14 Sep 2026 10:58:04 +0200 Subject: [PATCH 2/2] adjust to new type Signed-off-by: Frederic Wilhelm --- api/ocm/selectors/refsel/interface.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/ocm/selectors/refsel/interface.go b/api/ocm/selectors/refsel/interface.go index 8b07319ca..ce2ed8668 100644 --- a/api/ocm/selectors/refsel/interface.go +++ b/api/ocm/selectors/refsel/interface.go @@ -25,14 +25,14 @@ func (c Component) MatchReference(list accessors.ElementListAccessor, ref access //////////////////////////////////////////////////////////////////////////////// type compGlob struct { - glob.Glob + *glob.Pattern } func (c *compGlob) MatchReference(list accessors.ElementListAccessor, ref accessors.ReferenceAccessor) bool { - if c.Glob == nil { + if c.Pattern == nil { return false } - return c.Glob.Match(ref.GetComponentName()) + return c.Pattern.Match(ref.GetComponentName()) } func ComponentGlob(g string) Selector {