Commit 4a1371d
Shreyansh Sancheti
controller/vm: fix CI failures in mock generation
- Use 'go tool mockgen' instead of bare 'mockgen' in go:generate directives
(matches go.mod tool directive, ensures CI uses pinned version)
- Add -build_constraint=windows to vmcontroller mock (imports Windows-only packages)
- Remove stale internal/controller/vm/mock/ directory (tests use internal/test/mock/vmcontroller/)
Signed-off-by: Shreyansh Sancheti <shreyanshjain7174@gmail.com>
Signed-off-by: Shreyansh Sancheti <shsancheti@microsoft.com>1 parent 1a0e42a commit 4a1371d
5 files changed
Lines changed: 6 additions & 401 deletions
File tree
- internal
- controller/vm
- mock
- gcs
- test/mock/vmcontroller
- vm/vmmanager
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments