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.
2 parents 6ebda78 + 4e0767f commit 7d8ef08Copy full SHA for 7d8ef08
internal/model/model.go
@@ -230,13 +230,6 @@ func (b *Bundle) Validate() error {
230
if b.Channel != nil && b.Package != nil && b.Package != b.Channel.Package {
231
result = multierror.Append(result, errors.New("package does not match channel's package"))
232
}
233
- if b.Replaces != "" {
234
- if b.Channel != nil && b.Channel.Bundles != nil {
235
- if _, ok := b.Channel.Bundles[b.Replaces]; !ok {
236
- result = multierror.Append(result, fmt.Errorf("replaces %q not found in channel", b.Replaces))
237
- }
238
239
240
props, err := property.Parse(b.Properties)
241
if err != nil {
242
result = multierror.Append(result, err)
0 commit comments