chore: 'go generate' mockgen to use go tool wrapper (#25490)

Calling `mockgen` relies on the executable in the `$PATH`. Using `go
tool` uses the one defined in `go.mod`
This commit is contained in:
Steven Masley
2026-05-19 09:53:13 -05:00
committed by GitHub
parent 1afc6d4fd0
commit 51b531f5b3
9 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
// Package acmock contains a mock implementation of agentcontainers.Lister for use in tests.
package acmock
//go:generate mockgen -destination ./acmock.go -package acmock .. ContainerCLI,DevcontainerCLI,SubAgentClient
//go:generate go tool mockgen -destination ./acmock.go -package acmock .. ContainerCLI,DevcontainerCLI,SubAgentClient