Skip to content

Commit

Permalink
refactor(oomstore/export): if feature no register raise an error
Browse files Browse the repository at this point in the history
  • Loading branch information
lianxmfor committed Feb 11, 2022
1 parent 3360dca commit 56373c0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/oomstore/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ func (s *OomStore) ChannelExport(ctx context.Context, opt types.ChannelExportOpt
if err != nil {
return nil, err
}
if len(features) == 0 {
return nil, nil
}

if len(features) != len(opt.FeatureNames) {
invalid := features.FindMissingFeatures(opt.FeatureNames)
Expand Down

0 comments on commit 56373c0

Please sign in to comment.