We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4335a01 commit 2cebbe8Copy full SHA for 2cebbe8
internal/model/model.go
@@ -232,13 +232,6 @@ func (b *Bundle) Validate() error {
232
if b.Channel != nil && b.Package != nil && b.Package != b.Channel.Package {
233
result.subErrors = append(result.subErrors, errors.New("package does not match channel's package"))
234
}
235
- if b.Replaces != "" {
236
- if b.Channel != nil && b.Channel.Bundles != nil {
237
- if _, ok := b.Channel.Bundles[b.Replaces]; !ok {
238
- result.subErrors = append(result.subErrors, fmt.Errorf("replaces %q not found in channel", b.Replaces))
239
- }
240
241
242
props, err := property.Parse(b.Properties)
243
if err != nil {
244
result.subErrors = append(result.subErrors, err)
0 commit comments