Skip to content

Commit

Permalink
correct plugin typo (#1060)
Browse files Browse the repository at this point in the history
Signed-off-by: sunwp <[email protected]>
  • Loading branch information
244372610 authored Feb 15, 2022
1 parent 76d08f2 commit 5402d38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manager/searcher/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ func LoadPlugin(dir string) (Searcher, error) {
if rc, ok := client.(Searcher); ok {
return rc, err
}
return nil, errors.New("invalid client, not a ResourceClient")
return nil, errors.New("invalid searcher plugin")
}
2 changes: 1 addition & 1 deletion scheduler/scheduler/evaluator/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ func LoadPlugin(dir string) (Evaluator, error) {
if rc, ok := client.(Evaluator); ok {
return rc, err
}
return nil, errors.New("invalid client, not a ResourceClient")
return nil, errors.New("invalid evaluator plugin")
}

0 comments on commit 5402d38

Please sign in to comment.