Skip to content

Commit

Permalink
Update mockery arguments
Browse files Browse the repository at this point in the history
Mockery v1.0.0 is too old for go 1.18. This updates the
make mock target arguments so that mockery v2.10.6 can be used.

Signed-off-by: Ukri Niemimuukko <[email protected]>
  • Loading branch information
uniemimu authored and togashidm committed Aug 19, 2022
1 parent 7b17157 commit 3feffb4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gpu-aware-scheduling/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ licenses: clean-licenses
save "./cmd/gas-scheduler-extender" --save_path licenses

mock:
mockery --name=CacheAPI --dir=pkg/gpuscheduler --inpkg --note="+build !validation\nre-generate with 'make mock'"
mockery --name=InternalCacheAPI --dir=pkg/gpuscheduler --inpkg --note="+build !validation\nre-generate with 'make mock'"
mockery --name=CacheAPI --dir=pkg/gpuscheduler --inpackage --note="+build !validation\nre-generate with 'make mock'"
mockery --name=InternalCacheAPI --dir=pkg/gpuscheduler --inpackage --note="+build !validation\nre-generate with 'make mock'"

e2e:

2 changes: 1 addition & 1 deletion gpu-aware-scheduling/pkg/gpuscheduler/mock_CacheAPI.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3feffb4

Please sign in to comment.