Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
t0t07 committed Nov 16, 2021
1 parent c53877f commit 7f992fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/oomstore/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (s *OomStore) ImportBatchFeatures(ctx context.Context, opt types.ImportBatc
// get columns of the group
features := s.metadata.ListFeature(ctx, metadata.ListFeatureOpt{GroupID: &opt.GroupID})
if features == nil {
return 0, fmt.Errorf("no featues under group id: '%d'", opt.GroupID)
return 0, fmt.Errorf("no features under group id: '%d'", opt.GroupID)
}

// get entity info
Expand Down
2 changes: 1 addition & 1 deletion pkg/oomstore/import_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func TestImportBatchFeatureWithDependencyError(t *testing.T) {
Return(nil)
},
wantRevisionID: 0,
wantError: fmt.Errorf("no featues under group id: '1'"),
wantError: fmt.Errorf("no features under group id: '1'"),
},
{
description: "GetFeatureGroup failed",
Expand Down

0 comments on commit 7f992fb

Please sign in to comment.