Skip to content

Commit 493607c

Browse files
authored
Merge pull request kubernetes#2182 from johnbelamaric/fix-query
Fix reference to validations.Sigs() since refactor
2 parents 9eb412d + 8ed634a commit 493607c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/kepctl/query.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"github.com/pkg/errors"
2424

2525
"k8s.io/enhancements/pkg/kepval/keps"
26-
"k8s.io/enhancements/pkg/kepval/keps/validations"
26+
"k8s.io/enhancements/pkg/kepval/util"
2727
)
2828

2929
var (
@@ -56,7 +56,7 @@ type QueryOpts struct {
5656
// Validate checks the args and cleans them up if needed
5757
func (c *QueryOpts) Validate(args []string) error {
5858
if len(c.SIG) > 0 {
59-
sigs, err := selectByRegexp(validations.Sigs(), c.SIG)
59+
sigs, err := selectByRegexp(util.Groups(), c.SIG)
6060
if err != nil {
6161
return err
6262
}

0 commit comments

Comments
 (0)