Skip to content

Commit d43225a

Browse files
authored
Inadvertantly exposed validate package. (#5726)
The validate package was not meant to be public, moving it to internal. Signed-off-by: jesus m. rodriguez <[email protected]>
1 parent a217ff4 commit d43225a

File tree

11 files changed

+20
-2
lines changed

11 files changed

+20
-2
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# entries is a list of entries to include in
2+
# release notes and/or the migration guide
3+
entries:
4+
- description: >
5+
The validate package was inadvertantly exposed, it should be internal as
6+
all the other packages are in operator-sdk. The package was moved
7+
from `pkg/validate` to `internal/validate`.
8+
9+
# kind is one of:
10+
# - addition
11+
# - change
12+
# - deprecation
13+
# - removal
14+
# - bugfix
15+
kind: "change"
16+
17+
# Is this a breaking change?
18+
breaking: false

internal/cmd/operator-sdk/bundle/validate/validate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import (
3333
"k8s.io/apimachinery/pkg/labels"
3434

3535
internalregistry "github.com/operator-framework/operator-sdk/internal/registry"
36-
"github.com/operator-framework/operator-sdk/pkg/validate"
36+
"github.com/operator-framework/operator-sdk/internal/validate"
3737
)
3838

3939
type bundleValidateCmd struct {

internal/cmd/operator-sdk/bundle/validate/validate_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
log "github.com/sirupsen/logrus"
2121
"github.com/spf13/pflag"
2222

23-
"github.com/operator-framework/operator-sdk/pkg/validate"
23+
"github.com/operator-framework/operator-sdk/internal/validate"
2424
)
2525

2626
var _ = Describe("Running a bundle validate command", func() {
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)