mirror of
https://github.com/docker/compose.git
synced 2026-09-24 14:34:26 +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 <nicolas.deloof@gmail.com> |
||
|---|---|---|
| .. | ||
| mock_docker_api.go | ||
| mock_docker_cli.go | ||
| mock_docker_compose_api.go | ||