Fix NewDockerNetworkCreateExecutor in docker_stub #39

Merged
earl-warren merged 2 commits from tmb/act:fix-docker_stub into main 2024-04-04 08:07:17 +00:00
2 changed files with 3 additions and 1 deletions

View file

@ -39,6 +39,8 @@ jobs:
run: go vet -v ./...
- name: build
run: go build -v ./...
- name: build without docker
run: go build -tags WITHOUT_DOCKER -v ./...
- name: test
run: go test -v ./pkg/jobparser
# TODO test more packages

View file

@ -56,7 +56,7 @@ func NewDockerVolumeRemoveExecutor(volume string, force bool) common.Executor {
}
}
func NewDockerNetworkCreateExecutor(name string) common.Executor {
func NewDockerNetworkCreateExecutor(name string, config *types.NetworkCreate) common.Executor {
return func(ctx context.Context) error {
return nil
}