mirror of
https://github.com/docker/compose.git
synced 2026-10-12 02:13:08 +00:00
The `mocks` target still passed the pre-rename `Service` argument to mockgen (the interface is `Compose` since the rename) and installed whatever mockgen happened to be on PATH. Run it through `go run` with a pinned version so regeneration is reproducible; v0.4.0 is the last version usable here, as the package mode introduced in v0.5 copies parameter names from the mocked source and moby's APIClient names its variadic options `_`, which produces invalid Go code. Regenerated pkg/mocks with the fixed invocation (header-only change). Signed-off-by: Nicolas De Loof <[email protected]>